Update assert message
This commit is contained in:
parent
cdb5b06421
commit
a24f9fe7b7
@ -319,7 +319,7 @@ TestDBFactory
|
|||||||
results = control.database.results(control.user_id, control.application_id, request_values)
|
results = control.database.results(control.user_id, control.application_id, request_values)
|
||||||
|
|
||||||
for result in results[scenario_name]:
|
for result in results[scenario_name]:
|
||||||
self.assertEqual(expected_results[result['building']], result[cte.INSEL_MEB])
|
self.assertEqual(expected_results[result['building']], result[cte.INSEL_MEB], f"building '{result['building']}' saved results does not match expected results")
|
||||||
|
|
||||||
for _id in city_objects_id:
|
for _id in city_objects_id:
|
||||||
control.database.delete_results_by_name(cte.INSEL_MEB, city_object_id=_id)
|
control.database.delete_results_by_name(cte.INSEL_MEB, city_object_id=_id)
|
||||||
|
Loading…
Reference in New Issue
Block a user