From 7b7d82bd02d4dd3a12db8b33b48a2dc02a8191d0 Mon Sep 17 00:00:00 2001 From: Luis Pereira Date: Tue, 10 Dec 2024 09:34:38 +0100 Subject: [PATCH] fix --- .../test_api/test_simulators/test_simulators.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/tests_integration/test_api/test_simulators/test_simulators.py b/tests/tests_integration/test_api/test_simulators/test_simulators.py index c868e9ff4..04148373b 100644 --- a/tests/tests_integration/test_api/test_simulators/test_simulators.py +++ b/tests/tests_integration/test_api/test_simulators/test_simulators.py @@ -144,9 +144,8 @@ def test_filter_integrations(self, cognite_client: CogniteClient, seed_resource_ assert len(all_integrations) > 0 assert filtered_integrations[0].simulator_external_id == seed_resource_names["simulator_external_id"] # check time difference - # assert filtered_integrations[0].heartbeat == filtered_integrations[0].heartbeat - (time.time() * 1000) - # assert filtered_integrations[0].heartbeat == 10 assert filtered_integrations[0].active is True + assert filtered_integrations[0].heartbeat == 10 assert len(active_integrations) > 0 assert len(filtered_integrations) > 0