Skip to content
This repository was archived by the owner on Oct 12, 2023. It is now read-only.

Commit 16b92eb

Browse files
williexutroydai
authored andcommitted
changed processor name
1 parent 41fb8fd commit 16b92eb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/azure_devtools/scenario_tests/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
from .recording_processors import (
1212
RecordingProcessor, SubscriptionRecordingProcessor,
1313
LargeRequestBodyProcessor, LargeResponseBodyProcessor, LargeResponseBodyReplacer,
14-
OAuthRequestResponsesFilter, DeploymentNameReplacer, GeneralNameReplacer, AccessTokenReplacer, SlashReplacer,
14+
OAuthRequestResponsesFilter, DeploymentNameReplacer, GeneralNameReplacer, AccessTokenReplacer, RequestUrlNormalizer,
1515
)
1616
from .utilities import create_random_name, get_sha1_hash
1717

@@ -22,7 +22,7 @@
2222
'RecordingProcessor', 'SubscriptionRecordingProcessor',
2323
'LargeRequestBodyProcessor', 'LargeResponseBodyProcessor', 'LargeResponseBodyReplacer',
2424
'OAuthRequestResponsesFilter', 'DeploymentNameReplacer', 'GeneralNameReplacer',
25-
'AccessTokenReplacer', 'SlashReplacer',
25+
'AccessTokenReplacer', 'RequestUrlNormalizer',
2626
'live_only', 'record_only',
2727
'create_random_name', 'get_sha1_hash']
2828
__version__ = '0.5.0'

src/azure_devtools/scenario_tests/recording_processors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ def process_response(self, response):
177177
return response
178178

179179

180-
class SlashReplacer(RecordingProcessor):
180+
class RequestUrlNormalizer(RecordingProcessor):
181181
"""URL parsing fix to account for '//' vs '/' in different versions of python"""
182182
def process_request(self, request):
183183
import re

0 commit comments

Comments
 (0)