[Test] patch
@@ -238,7 +238,10 @@ class GeneralNameReplacer(RecordingProcessor):
self.replace_header(response, "azure-asyncoperation", old, new)
self.replace_header(response, "www-authenticate", old, new)
+ try:
response["url"] = replace_subscription_id(response["url"])
+ except KeyError:
+ pass
try:
for old, new in self.names_name:
