From 1ca5f39604ad6f051cc2f0c4b856e2eda6b5539c Mon Sep 17 00:00:00 2001 From: Atalya Alon Date: Thu, 10 Oct 2024 18:13:31 +0300 Subject: [PATCH] fixing assert --- tests/test_news_flash_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_news_flash_api.py b/tests/test_news_flash_api.py index 4c773bb8..668903db 100644 --- a/tests/test_news_flash_api.py +++ b/tests/test_news_flash_api.py @@ -103,7 +103,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"],