Skip to content

Commit 2528892

Browse files
authored
[Test proxy] Restore functionality with positional test parameters (#44293)
1 parent 16fdf0e commit 2528892

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

eng/tools/azure-sdk-tools/devtools_testutils/aio/proxy_testcase_async.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
# --------------------------------------------------------------------------
66
import logging
77
import urllib.parse as url_parse
8-
from functools import wraps
98

109
from azure.core.exceptions import ResourceNotFoundError
1110
from azure.core.pipeline.policies import ContentDecodePolicy
@@ -99,7 +98,6 @@ async def test(...): ...
9998

10099
def _make_proxy_decorator_async(transports):
101100
def _decorator(test_func):
102-
@wraps(test_func)
103101
async def record_wrap(*args, **kwargs):
104102
# ---- your existing trimming/early-exit logic ----
105103
trimmed_kwargs = {k: v for k, v in kwargs.items()}

eng/tools/azure-sdk-tools/devtools_testutils/proxy_testcase.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
import logging
88
import os
99
from typing import TYPE_CHECKING, Optional
10-
from functools import wraps
1110
import urllib.parse as url_parse
1211

1312
from azure.core.exceptions import HttpResponseError, ResourceNotFoundError
@@ -298,7 +297,6 @@ def test(...): ...
298297

299298
def _make_proxy_decorator(transports):
300299
def _decorator(test_func: "Callable"):
301-
@wraps(test_func)
302300
def record_wrap(*args, **kwargs):
303301
# ---- your existing trimming/early-exit logic ----
304302
trimmed_kwargs = {k: v for k, v in kwargs.items()}

0 commit comments

Comments
 (0)