From 5ed4fd173e2bb07462db8d396914f1bdeff2c4c5 Mon Sep 17 00:00:00 2001 From: Ryan McGinty Date: Thu, 29 Feb 2024 20:20:34 -0800 Subject: [PATCH] fix failing version test --- test/aibs_informatics_core/models/api/test_route.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/aibs_informatics_core/models/api/test_route.py b/test/aibs_informatics_core/models/api/test_route.py index e59529b..38bfd54 100644 --- a/test/aibs_informatics_core/models/api/test_route.py +++ b/test/aibs_informatics_core/models/api/test_route.py @@ -241,7 +241,8 @@ def test__build__creates_from_nothing(self): config2 = ApiRequestConfig.build() # TODO: This is failing for unknown reasons in github actions - assert config1.client_version == expected_client_version + assert isinstance(config1.client_version, VersionStr) + assert expected_client_version == config1.client_version assert config2.client_version == expected_client_version self.assertIsNone(config1.service_log_level) self.assertEqual(config2.service_log_level, "INFO")