Skip to content

Commit

Permalink
[Key Vault] Refactor secrets test causing CI errors (#16835)
Browse files Browse the repository at this point in the history
  • Loading branch information
mccoyp authored Feb 19, 2021
1 parent 0de421f commit f7062ad
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,9 @@ async def test_list_deleted_secrets(self, azure_keyvault_url, **kwargs):
self.assertIsNotNone(deleted_secret.deleted_date)
self.assertIsNotNone(deleted_secret.scheduled_purge_date)
self.assertIsNotNone(deleted_secret.recovery_id)
expected_secret = expected[deleted_secret.name]
self._assert_secret_attributes_equal(expected_secret.properties, deleted_secret.properties)
if deleted_secret.name in expected:
expected_secret = expected[deleted_secret.name]
self._assert_secret_attributes_equal(expected_secret.properties, deleted_secret.properties)

@KeyVaultPreparer()
async def test_list_versions(self, azure_keyvault_url, **kwargs):
Expand Down

0 comments on commit f7062ad

Please sign in to comment.