From b8b2d7a17acd00e6a938fa7a65de306e2dd39767 Mon Sep 17 00:00:00 2001 From: Matt Gibson Date: Thu, 26 Sep 2024 08:27:04 -0700 Subject: [PATCH] Filter sync secrets --- languages/python/test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,