From 4e146867b44130932926d4e0df87ad7e30758497 Mon Sep 17 00:00:00 2001 From: Finkelman Date: Thu, 5 Apr 2018 12:22:51 -0400 Subject: [PATCH] fix tests --- urbansim/models/tests/test_dcm.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/urbansim/models/tests/test_dcm.py b/urbansim/models/tests/test_dcm.py index 36ef4e91..53c8941c 100644 --- a/urbansim/models/tests/test_dcm.py +++ b/urbansim/models/tests/test_dcm.py @@ -221,6 +221,8 @@ def test_mnl_dcm_yaml(basic_dcm, choosers, alternatives): 'log_likelihoods': None, 'fit_parameters': None, 'normalize': False, + 'l1': 0.0, + 'l2': 0.0, } assert yaml.load(basic_dcm.to_yaml()) == expected_dict @@ -515,6 +517,8 @@ def test_mnl_dcm_segmented_yaml(grouped_choosers, alternatives): 'log_likelihoods': None, 'fit_parameters': None, 'normalize': False, + 'l1': 0.0, + 'l2': 0.0, }, 'y': { 'name': 'y', @@ -523,6 +527,8 @@ def test_mnl_dcm_segmented_yaml(grouped_choosers, alternatives): 'log_likelihoods': None, 'fit_parameters': None, 'normalize': False, + 'l1': 0.0, + 'l2': 0.0, } } }