Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Eh2406 committed Apr 5, 2018
1 parent cd9a255 commit 4e14686
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions urbansim/models/tests/test_dcm.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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',
Expand All @@ -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,
}
}
}
Expand Down

0 comments on commit 4e14686

Please sign in to comment.