diff --git a/languages/python/test.py b/languages/python/test.py index b2ef5cde65..352a88750b 100644 --- a/languages/python/test.py +++ b/languages/python/test.py @@ -182,7 +182,7 @@ def test_secret_get_equal_to_get_by_id(self): def test_sync(self): response = self.client.secrets().sync(organization_id, None) self.assertTrue(response.success) - for secret in response.data.secrets: + for secret in filter_secrets_to_this_run(response.data.secrets): expected_secret = next( (s for s in self.expected_secrets if s["key"] == secret.key), None,