Skip to content

Commit

Permalink
Merge pull request #2716 from data-for-change/2663-location-qualifica…
Browse files Browse the repository at this point in the history
…tion-bug

fixing assert
  • Loading branch information
atalyaalon authored Oct 10, 2024
2 parents 4246c4f + 1ca5f39 commit 6db9f59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_news_flash_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def test_add_location_qualifiction_history(self, can, current_user, get_current_
saved_location = json.loads(location_verifiction_history["location_after_change"])
saved_road_segment_id = saved_location["road_segment_id"]
saved_road_num = saved_location["road1"]
self.assertEqual(saved_road_segment_id, values["road_segment_id"])
self.assertEqual(saved_road_segment_id, int(values["road_segment_id"])
self.assertEqual(saved_road_num, float(values["road1"]))
self.assertEqual(
values["newsflash_location_qualification"],
Expand Down

0 comments on commit 6db9f59

Please sign in to comment.