Skip to content

Commit

Permalink
[Mgmt Compute] Sanitize recordings (Azure#23331)
Browse files Browse the repository at this point in the history
  • Loading branch information
mccoyp authored and rakshith91 committed Apr 7, 2022
1 parent 1040cb4 commit 00148c7
Show file tree
Hide file tree
Showing 4 changed files with 720 additions and 716 deletions.
4 changes: 2 additions & 2 deletions sdk/compute/azure-mgmt-compute/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,13 @@
#
# --------------------------------------------------------------------------
import os
import re
import platform
import pytest
import sys

from dotenv import load_dotenv

from devtools_testutils import test_proxy, add_general_regex_sanitizer,add_body_regex_sanitizer
from devtools_testutils import test_proxy, add_general_regex_sanitizer, add_body_key_sanitizer

# Ignore async tests for Python < 3.5
collect_ignore_glob = []
Expand All @@ -49,3 +48,4 @@ def add_sanitizers(test_proxy):
add_general_regex_sanitizer(regex=tenant_id, value="00000000-0000-0000-0000-000000000000")
add_general_regex_sanitizer(regex='eyJ0eXAiOiJKV.*?"', value='access_token"')
add_general_regex_sanitizer(regex='fpc=.*?;', value='fpc=fpc;')
add_body_key_sanitizer(json_path="$..accessSAS")
Loading

0 comments on commit 00148c7

Please sign in to comment.