Skip to content

Commit

Permalink
Filter sync secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
MGibson1 committed Sep 26, 2024
1 parent 4779f25 commit a9abb19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion languages/python/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit a9abb19

Please sign in to comment.