Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
v-xuto committed Nov 9, 2021
1 parent 226e0cb commit 428d689
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
3 changes: 0 additions & 3 deletions sdk/keyvault/azure-keyvault-keys/tests/test_key_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,6 @@ def _to_bytes(hex):
@client_setup
def test_key_crud_operations(self, client, is_hsm, **kwargs):
self.assertIsNotNone(client)

if (self.is_live and os.environ["KEYVAULT_SKU"] != "premium"):
pytest.skip("This test not supprot in usgov/china region. Follow up with service team")

Expand Down Expand Up @@ -562,7 +561,6 @@ def test_update_release_policy(self, client, **kwargs):
@only_vault_7_3_preview()
@client_setup
def test_key_rotation(self, client, **kwargs):

if (not ".microsoftonline.com" in os.environ["AZURE_AUTHORITY_HOST"] and self.is_live):
pytest.skip("This test not supprot in usgov/china region. Follow up with service team.")

Expand All @@ -578,7 +576,6 @@ def test_key_rotation(self, client, **kwargs):
@only_vault_7_3_preview()
@client_setup
def test_key_rotation_policy(self, client, **kwargs):

if (not ".microsoftonline.com" in os.environ["AZURE_AUTHORITY_HOST"] and self.is_live):
pytest.skip("This test not supprot in usgov/china region. Follow up with service team.")

Expand Down
5 changes: 1 addition & 4 deletions sdk/keyvault/azure-keyvault-keys/tests/test_keys_async.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,9 +180,8 @@ def _to_bytes(hex):
@client_setup
async def test_key_crud_operations(self, client, is_hsm, **kwargs):
self.assertIsNotNone(client)

if (self.is_live and os.environ["KEYVAULT_SKU"] != "premium"):
pytest.skip("This test not supprot in usgov/china region. Follow up with service team")
pytest.skip("This test not supprot in usgov/china region. Follow up with service team.")

# create ec key
ec_key_name = self.get_resource_name("crud-ec-key")
Expand Down Expand Up @@ -559,7 +558,6 @@ async def test_update_release_policy(self, client, **kwargs):
@only_vault_7_3_preview()
@client_setup
async def test_key_rotation(self, client, **kwargs):

if (not ".microsoftonline.com" in os.environ["AZURE_AUTHORITY_HOST"] and self.is_live):
pytest.skip("This test not supprot in usgov/china region. Follow up with service team.")

Expand All @@ -575,7 +573,6 @@ async def test_key_rotation(self, client, **kwargs):
@only_vault_7_3_preview()
@client_setup
async def test_key_rotation_policy(self, client, **kwargs):

if (not ".microsoftonline.com" in os.environ["AZURE_AUTHORITY_HOST"] and self.is_live):
pytest.skip("This test not supprot in usgov/china region. Follow up with service team.")

Expand Down

0 comments on commit 428d689

Please sign in to comment.