diff --git a/tests/tests_integration/test_api/test_data_modeling/test_instances.py b/tests/tests_integration/test_api/test_data_modeling/test_instances.py index fc99de9a3..91bcde8c9 100644 --- a/tests/tests_integration/test_api/test_data_modeling/test_instances.py +++ b/tests/tests_integration/test_api/test_data_modeling/test_instances.py @@ -1087,15 +1087,11 @@ def test_listing_global_nodes(self, cognite_client: CogniteClient) -> None: from cognite.client.data_classes.data_modeling.cdm.v1 import CogniteUnit # Space must be explicitly specified or nothing will be returned: - no_nodes = cognite_client.data_modeling.instances.list( - sources=CogniteUnit.get_source(), - ) + no_nodes = cognite_client.data_modeling.instances.list(sources=CogniteUnit.get_source()) assert len(no_nodes) == 0 nodes = cognite_client.data_modeling.instances.list( - space="cdf_cdm_units", - sources=CogniteUnit.get_source(), - limit=5, + space="cdf_cdm_units", sources=CogniteUnit.get_source(), limit=5 ) assert len(nodes) == 5