Skip to content

Commit

Permalink
fex tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Eh2406 committed Apr 4, 2018
1 parent bbe9501 commit a5b3838
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions urbansim/models/tests/test_dcm.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,8 @@ def test_mnl_dcm_yaml(basic_dcm, choosers, alternatives):
'choice_column': basic_dcm.choice_column,
'fitted': False,
'log_likelihoods': None,
'fit_parameters': None
'fit_parameters': None,
'normalize': False,
}

assert yaml.load(basic_dcm.to_yaml()) == expected_dict
Expand Down Expand Up @@ -512,14 +513,16 @@ def test_mnl_dcm_segmented_yaml(grouped_choosers, alternatives):
'name': 'x',
'fitted': False,
'log_likelihoods': None,
'fit_parameters': None
'fit_parameters': None,
'normalize': False,
},
'y': {
'name': 'y',
'model_expression': 'var3 + var1:var2',
'fitted': False,
'log_likelihoods': None,
'fit_parameters': None
'fit_parameters': None,
'normalize': False,
}
}
}
Expand Down

0 comments on commit a5b3838

Please sign in to comment.