We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5ccfd9b commit 0dc8bb3Copy full SHA for 0dc8bb3
1 file changed
sdk/contentunderstanding/azure-ai-contentunderstanding/tests/conftest.py
@@ -111,6 +111,11 @@ def add_sanitizers(test_proxy):
111
value="https://Sanitized.services.ai.azure.com",
112
regex=r"https://[a-zA-Z0-9\-]+\.services\.ai\.azure\.com",
113
)
114
+ # Keep playback stable when recorded endpoints include a trailing slash.
115
+ add_uri_regex_sanitizer(
116
+ regex=r"//contentunderstanding",
117
+ value="/contentunderstanding",
118
+ )
119
120
# Sanitize Ocp-Apim-Subscription-Key header (where the API key is sent)
121
add_header_regex_sanitizer(key="Ocp-Apim-Subscription-Key", value="fake-api-key", regex=".*")
0 commit comments