Skip to content

Commit

Permalink
Update conftest.py (#34906)
Browse files Browse the repository at this point in the history
  • Loading branch information
msyyc authored Mar 25, 2024
1 parent a9b8513 commit 2ae2928
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions sdk/purview/azure-purview-scanning/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@

@pytest.fixture(scope="session", autouse=True)
def add_sanitizers(test_proxy):
subscription_id = os.environ.get("PURVIEWCATALOG_SUBSCRIPTION_ID", "00000000-0000-0000-0000-000000000000")
tenant_id = os.environ.get("PURVIEWCATALOG_TENANT_ID", "00000000-0000-0000-0000-000000000000")
client_id = os.environ.get("PURVIEWCATALOG_CLIENT_ID", "00000000-0000-0000-0000-000000000000")
client_secret = os.environ.get("PURVIEWCATALOG_CLIENT_SECRET", "00000000-0000-0000-0000-000000000000")
subscription_id = os.environ.get("PURVIEWSCANNING_SUBSCRIPTION_ID", "00000000-0000-0000-0000-000000000000")
tenant_id = os.environ.get("PURVIEWSCANNING_TENANT_ID", "00000000-0000-0000-0000-000000000000")
client_id = os.environ.get("PURVIEWSCANNING_CLIENT_ID", "00000000-0000-0000-0000-000000000000")
client_secret = os.environ.get("PURVIEWSCANNING_CLIENT_SECRET", "00000000-0000-0000-0000-000000000000")
add_general_regex_sanitizer(regex=subscription_id, value="00000000-0000-0000-0000-000000000000")
add_general_regex_sanitizer(regex=tenant_id, value="00000000-0000-0000-0000-000000000000")
add_general_regex_sanitizer(regex=client_id, value="00000000-0000-0000-0000-000000000000")
Expand Down

0 comments on commit 2ae2928

Please sign in to comment.