[Automation] Regenerate SDK based on typespec-python branch snake-case-naming-optimization #36412
Build #20240710.4 had test failures
Details
- Failed: 144 (100.00%)
- Passed: 0 (0.00%)
- Other: 0 (0.00%)
- Total: 144
Annotations
Check failure on line 10026 in Build log
azure-pipelines / python - contentsafety - ci
Build log #L10026
The process 'D:\a\_work\1\s\venv\Scripts\python.exe' failed with exit code 1
Check failure on line 10045 in Build log
azure-pipelines / python - contentsafety - ci
Build log #L10045
The process '/mnt/vss/_work/1/s/venv/bin/python' failed with exit code 1
Check failure on line 10024 in Build log
azure-pipelines / python - contentsafety - ci
Build log #L10024
The process 'D:\a\_work\1\s\venv\Scripts\python.exe' failed with exit code 1
Check failure on line 10039 in Build log
azure-pipelines / python - contentsafety - ci
Build log #L10039
The process '/mnt/vss/_work/1/s/venv/bin/python' failed with exit code 1
Check failure on line 1 in test_create_blocklist
azure-pipelines / python - contentsafety - ci
test_create_blocklist
azure.core.exceptions.HttpResponseError: Operation returned an invalid status 'Internal Server Error'
Content: {"Message":"Invalid URI: The format of the URI could not be determined.","Status":"500","StackTrace":" at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind, UriCreationOptions\u0026 creationOptions)\n at System.Uri..ctor(String uriString)\n at Azure.Sdk.Tools.TestProxy.RecordingHandler.GetRequestUri(HttpRequest request) in /mnt/vss/_work/1/s/tools/test-proxy/Azure.Sdk.Tools.TestProxy/RecordingHandler.cs:line 1123\n at Azure.Sdk.Tools.TestProxy.RecordingHandler.CreateNoBodyRecordEntry(HttpRequest request) in /mnt/vss/_work/1/s/tools/test-proxy/Azure.Sdk.Tools.TestProxy/RecordingHandler.cs:line 583\n at Azure.Sdk.Tools.TestProxy.RecordingHandler.CreateEntryAsync(HttpRequest request) in /mnt/vss/_work/1/s/tools/test-proxy/Azure.Sdk.Tools.TestProxy/RecordingHandler.cs:line 573\n at Azure.Sdk.Tools.TestProxy.RecordingHandler.HandlePlaybackRequest(String recordingId, HttpRequest incomingRequest, HttpResponse outgoingResponse) in /mnt/vss/_work/1/s/tools/test-proxy/Azure.Sdk.Tools.TestProxy/RecordingHandler.cs:line 476\n at Azure.Sdk.Tools.TestProxy.Playback.HandleRequest() in /mnt/vss/_work/1/s/tools/test-proxy/Azure.Sdk.Tools.TestProxy/Playback.cs:line 92\n at lambda_method61(Closure , Object )\n at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.\u003CInvokeActionMethodAsync\u003Eg__Awaited|12_0(ControllerActionInvoker invoker, ValueTask\u00601 actionResultValueTask)\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.\u003CInvokeNextActionFilterAsync\u003Eg__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSe
Raw output
args = (<test_blocklist.TestBlocklistCase object at 0x11258b6d0>,)
kwargs = {'__aggregate_cache_key': ('EnvironmentVariableLoader',), 'content_safety_client_id': '0000000000000000000000000000000...00000000000000000000000000000', 'content_safety_endpoint': 'https://fake_cs_resource.cognitiveservices.azure.com', ...}
trimmed_kwargs = {'content_safety_endpoint': 'https://fake_cs_resource.cognitiveservices.azure.com', 'content_safety_key': '00000000000000000000000000000000'}
test_id = 'sdk/contentsafety/azure-ai-contentsafety/tests/recordings/test_blocklist.pyTestBlocklistCasetest_create_blocklist'
variables = {}
combined_call = <function recorded_by_proxy.<locals>.record_wrap.<locals>.combined_call at 0x1125ae8e0>
test_variables = None, test_run = False, logger = <RootLogger root (INFO)>
def record_wrap(*args, **kwargs):
def transform_args(*args, **kwargs):
copied_positional_args = list(args)
request = copied_positional_args[1]
transform_request(request, recording_id)
return tuple(copied_positional_args), kwargs
trimmed_kwargs = {k: v for k, v in kwargs.items()}
trim_kwargs_from_test_function(test_func, trimmed_kwargs)
if is_live_and_not_recording():
return test_func(*args, **trimmed_kwargs)
test_id = get_test_id()
recording_id, variables = start_record_or_playback(test_id)
original_transport_func = RequestsTransport.send
def combined_call(*args, **kwargs):
adjusted_args, adjusted_kwargs = transform_args(*args, **kwargs)
result = original_transport_func(*adjusted_args, **adjusted_kwargs)
# make the x-recording-upstream-base-uri the URL of the request
# this makes the request look like it was made to the original endpoint instead of to the proxy
# without this, things like LROPollers can get broken by polling the wrong endpoint
parsed_result = url_parse.urlparse(result.request.url)
upstream_uri = url_parse.urlparse(result.request.headers["x-recording-upstream-base-uri"])
upstream_uri_dict = {
"scheme": upstream_uri.scheme,
"netloc": upstream_uri.netloc,
}
original_target = parsed_result._replace(**upstream_uri_dict).geturl()
result.request.url = original_target
return result
RequestsTransport.send = combined_call
# call the modified function
# we define test_variables before invoking the test so the variable is defined in case of an exception
test_variables = None
# this tracks whether the test has been run yet; used when calling the test function with/without `variables`
# running without `variables` in the `except` block leads to unnecessary exceptions in test execution output
test_run = False
try:
try:
test_variables = test_func(*args, variables=variables, **trimmed_kwargs)
test_run = True
except TypeError as error:
if "unexpected keyword argument" in str(error) and "variables" in str(error):
logger = logging.getLogger()
logger.info(
"This test can't accept variables as input. The test method should accept `**kwargs` and/or a "
"`variables` parameter to make use of recorded test variables."
)
else:
raise error
# if the test couldn't accept `variables`, run the test without passing them
if not test_run:
> test_variables = test_func(*args, **trimmed_kwargs)
.tox/mindependency/lib/python3.11/site-packages/devtools_testutils/proxy_testcase.py:238:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/test_blocklist.py:27: in test_create_
Check failure on line 1 in test_list_text_blocklists
azure-pipelines / python - contentsafety - ci
test_list_text_blocklists
azure.core.exceptions.HttpResponseError: Operation returned an invalid status 'Internal Server Error'
Content: {"Message":"Invalid URI: The format of the URI could not be determined.","Status":"500","StackTrace":" at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind, UriCreationOptions\u0026 creationOptions)\n at System.Uri..ctor(String uriString)\n at Azure.Sdk.Tools.TestProxy.RecordingHandler.GetRequestUri(HttpRequest request) in /mnt/vss/_work/1/s/tools/test-proxy/Azure.Sdk.Tools.TestProxy/RecordingHandler.cs:line 1123\n at Azure.Sdk.Tools.TestProxy.RecordingHandler.CreateNoBodyRecordEntry(HttpRequest request) in /mnt/vss/_work/1/s/tools/test-proxy/Azure.Sdk.Tools.TestProxy/RecordingHandler.cs:line 583\n at Azure.Sdk.Tools.TestProxy.RecordingHandler.CreateEntryAsync(HttpRequest request) in /mnt/vss/_work/1/s/tools/test-proxy/Azure.Sdk.Tools.TestProxy/RecordingHandler.cs:line 573\n at Azure.Sdk.Tools.TestProxy.RecordingHandler.HandlePlaybackRequest(String recordingId, HttpRequest incomingRequest, HttpResponse outgoingResponse) in /mnt/vss/_work/1/s/tools/test-proxy/Azure.Sdk.Tools.TestProxy/RecordingHandler.cs:line 476\n at Azure.Sdk.Tools.TestProxy.Playback.HandleRequest() in /mnt/vss/_work/1/s/tools/test-proxy/Azure.Sdk.Tools.TestProxy/Playback.cs:line 92\n at lambda_method61(Closure , Object )\n at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.\u003CInvokeActionMethodAsync\u003Eg__Awaited|12_0(ControllerActionInvoker invoker, ValueTask\u00601 actionResultValueTask)\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.\u003CInvokeNextActionFilterAsync\u003Eg__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSe
Raw output
args = (<test_blocklist.TestBlocklistCase object at 0x11258bc90>,)
kwargs = {'__aggregate_cache_key': ('EnvironmentVariableLoader',), 'content_safety_client_id': '0000000000000000000000000000000...00000000000000000000000000000', 'content_safety_endpoint': 'https://fake_cs_resource.cognitiveservices.azure.com', ...}
trimmed_kwargs = {'content_safety_endpoint': 'https://fake_cs_resource.cognitiveservices.azure.com', 'content_safety_key': '00000000000000000000000000000000'}
test_id = 'sdk/contentsafety/azure-ai-contentsafety/tests/recordings/test_blocklist.pyTestBlocklistCasetest_list_text_blocklists'
variables = {}
combined_call = <function recorded_by_proxy.<locals>.record_wrap.<locals>.combined_call at 0x112760d60>
test_variables = None, test_run = False, logger = <RootLogger root (INFO)>
def record_wrap(*args, **kwargs):
def transform_args(*args, **kwargs):
copied_positional_args = list(args)
request = copied_positional_args[1]
transform_request(request, recording_id)
return tuple(copied_positional_args), kwargs
trimmed_kwargs = {k: v for k, v in kwargs.items()}
trim_kwargs_from_test_function(test_func, trimmed_kwargs)
if is_live_and_not_recording():
return test_func(*args, **trimmed_kwargs)
test_id = get_test_id()
recording_id, variables = start_record_or_playback(test_id)
original_transport_func = RequestsTransport.send
def combined_call(*args, **kwargs):
adjusted_args, adjusted_kwargs = transform_args(*args, **kwargs)
result = original_transport_func(*adjusted_args, **adjusted_kwargs)
# make the x-recording-upstream-base-uri the URL of the request
# this makes the request look like it was made to the original endpoint instead of to the proxy
# without this, things like LROPollers can get broken by polling the wrong endpoint
parsed_result = url_parse.urlparse(result.request.url)
upstream_uri = url_parse.urlparse(result.request.headers["x-recording-upstream-base-uri"])
upstream_uri_dict = {
"scheme": upstream_uri.scheme,
"netloc": upstream_uri.netloc,
}
original_target = parsed_result._replace(**upstream_uri_dict).geturl()
result.request.url = original_target
return result
RequestsTransport.send = combined_call
# call the modified function
# we define test_variables before invoking the test so the variable is defined in case of an exception
test_variables = None
# this tracks whether the test has been run yet; used when calling the test function with/without `variables`
# running without `variables` in the `except` block leads to unnecessary exceptions in test execution output
test_run = False
try:
try:
test_variables = test_func(*args, variables=variables, **trimmed_kwargs)
test_run = True
except TypeError as error:
if "unexpected keyword argument" in str(error) and "variables" in str(error):
logger = logging.getLogger()
logger.info(
"This test can't accept variables as input. The test method should accept `**kwargs` and/or a "
"`variables` parameter to make use of recorded test variables."
)
else:
raise error
# if the test couldn't accept `variables`, run the test without passing them
if not test_run:
> test_variables = test_func(*args, **trimmed_kwargs)
.tox/mindependency/lib/python3.11/site-packages/devtools_testutils/proxy_testcase.py:238:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/test_blocklist.py:43: in test_lis
Check failure on line 1 in test_delete_blocklist
azure-pipelines / python - contentsafety - ci
test_delete_blocklist
azure.core.exceptions.HttpResponseError: Operation returned an invalid status 'Internal Server Error'
Content: {"Message":"Invalid URI: The format of the URI could not be determined.","Status":"500","StackTrace":" at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind, UriCreationOptions\u0026 creationOptions)\n at System.Uri..ctor(String uriString)\n at Azure.Sdk.Tools.TestProxy.RecordingHandler.GetRequestUri(HttpRequest request) in /mnt/vss/_work/1/s/tools/test-proxy/Azure.Sdk.Tools.TestProxy/RecordingHandler.cs:line 1123\n at Azure.Sdk.Tools.TestProxy.RecordingHandler.CreateNoBodyRecordEntry(HttpRequest request) in /mnt/vss/_work/1/s/tools/test-proxy/Azure.Sdk.Tools.TestProxy/RecordingHandler.cs:line 583\n at Azure.Sdk.Tools.TestProxy.RecordingHandler.CreateEntryAsync(HttpRequest request) in /mnt/vss/_work/1/s/tools/test-proxy/Azure.Sdk.Tools.TestProxy/RecordingHandler.cs:line 573\n at Azure.Sdk.Tools.TestProxy.RecordingHandler.HandlePlaybackRequest(String recordingId, HttpRequest incomingRequest, HttpResponse outgoingResponse) in /mnt/vss/_work/1/s/tools/test-proxy/Azure.Sdk.Tools.TestProxy/RecordingHandler.cs:line 476\n at Azure.Sdk.Tools.TestProxy.Playback.HandleRequest() in /mnt/vss/_work/1/s/tools/test-proxy/Azure.Sdk.Tools.TestProxy/Playback.cs:line 92\n at lambda_method61(Closure , Object )\n at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.\u003CInvokeActionMethodAsync\u003Eg__Awaited|12_0(ControllerActionInvoker invoker, ValueTask\u00601 actionResultValueTask)\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.\u003CInvokeNextActionFilterAsync\u003Eg__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSe
Raw output
args = (<test_blocklist.TestBlocklistCase object at 0x112594b50>,)
kwargs = {'__aggregate_cache_key': ('EnvironmentVariableLoader',), 'content_safety_client_id': '0000000000000000000000000000000...00000000000000000000000000000', 'content_safety_endpoint': 'https://fake_cs_resource.cognitiveservices.azure.com', ...}
trimmed_kwargs = {'content_safety_endpoint': 'https://fake_cs_resource.cognitiveservices.azure.com', 'content_safety_key': '00000000000000000000000000000000'}
test_id = 'sdk/contentsafety/azure-ai-contentsafety/tests/recordings/test_blocklist.pyTestBlocklistCasetest_delete_blocklist'
variables = {}
combined_call = <function recorded_by_proxy.<locals>.record_wrap.<locals>.combined_call at 0x112761ee0>
test_variables = None, test_run = False, logger = <RootLogger root (INFO)>
def record_wrap(*args, **kwargs):
def transform_args(*args, **kwargs):
copied_positional_args = list(args)
request = copied_positional_args[1]
transform_request(request, recording_id)
return tuple(copied_positional_args), kwargs
trimmed_kwargs = {k: v for k, v in kwargs.items()}
trim_kwargs_from_test_function(test_func, trimmed_kwargs)
if is_live_and_not_recording():
return test_func(*args, **trimmed_kwargs)
test_id = get_test_id()
recording_id, variables = start_record_or_playback(test_id)
original_transport_func = RequestsTransport.send
def combined_call(*args, **kwargs):
adjusted_args, adjusted_kwargs = transform_args(*args, **kwargs)
result = original_transport_func(*adjusted_args, **adjusted_kwargs)
# make the x-recording-upstream-base-uri the URL of the request
# this makes the request look like it was made to the original endpoint instead of to the proxy
# without this, things like LROPollers can get broken by polling the wrong endpoint
parsed_result = url_parse.urlparse(result.request.url)
upstream_uri = url_parse.urlparse(result.request.headers["x-recording-upstream-base-uri"])
upstream_uri_dict = {
"scheme": upstream_uri.scheme,
"netloc": upstream_uri.netloc,
}
original_target = parsed_result._replace(**upstream_uri_dict).geturl()
result.request.url = original_target
return result
RequestsTransport.send = combined_call
# call the modified function
# we define test_variables before invoking the test so the variable is defined in case of an exception
test_variables = None
# this tracks whether the test has been run yet; used when calling the test function with/without `variables`
# running without `variables` in the `except` block leads to unnecessary exceptions in test execution output
test_run = False
try:
try:
test_variables = test_func(*args, variables=variables, **trimmed_kwargs)
test_run = True
except TypeError as error:
if "unexpected keyword argument" in str(error) and "variables" in str(error):
logger = logging.getLogger()
logger.info(
"This test can't accept variables as input. The test method should accept `**kwargs` and/or a "
"`variables` parameter to make use of recorded test variables."
)
else:
raise error
# if the test couldn't accept `variables`, run the test without passing them
if not test_run:
> test_variables = test_func(*args, **trimmed_kwargs)
.tox/mindependency/lib/python3.11/site-packages/devtools_testutils/proxy_testcase.py:238:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/test_blocklist.py:86: in test_delete_
Check failure on line 1 in test_get_text_blocklist
azure-pipelines / python - contentsafety - ci
test_get_text_blocklist
azure.core.exceptions.HttpResponseError: Operation returned an invalid status 'Internal Server Error'
Content: {"Message":"Invalid URI: The format of the URI could not be determined.","Status":"500","StackTrace":" at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind, UriCreationOptions\u0026 creationOptions)\n at System.Uri..ctor(String uriString)\n at Azure.Sdk.Tools.TestProxy.RecordingHandler.GetRequestUri(HttpRequest request) in /mnt/vss/_work/1/s/tools/test-proxy/Azure.Sdk.Tools.TestProxy/RecordingHandler.cs:line 1123\n at Azure.Sdk.Tools.TestProxy.RecordingHandler.CreateNoBodyRecordEntry(HttpRequest request) in /mnt/vss/_work/1/s/tools/test-proxy/Azure.Sdk.Tools.TestProxy/RecordingHandler.cs:line 583\n at Azure.Sdk.Tools.TestProxy.RecordingHandler.CreateEntryAsync(HttpRequest request) in /mnt/vss/_work/1/s/tools/test-proxy/Azure.Sdk.Tools.TestProxy/RecordingHandler.cs:line 573\n at Azure.Sdk.Tools.TestProxy.RecordingHandler.HandlePlaybackRequest(String recordingId, HttpRequest incomingRequest, HttpResponse outgoingResponse) in /mnt/vss/_work/1/s/tools/test-proxy/Azure.Sdk.Tools.TestProxy/RecordingHandler.cs:line 476\n at Azure.Sdk.Tools.TestProxy.Playback.HandleRequest() in /mnt/vss/_work/1/s/tools/test-proxy/Azure.Sdk.Tools.TestProxy/Playback.cs:line 92\n at lambda_method61(Closure , Object )\n at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.\u003CInvokeActionMethodAsync\u003Eg__Awaited|12_0(ControllerActionInvoker invoker, ValueTask\u00601 actionResultValueTask)\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.\u003CInvokeNextActionFilterAsync\u003Eg__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSe
Raw output
args = (<test_blocklist.TestBlocklistCase object at 0x1125943d0>,)
kwargs = {'__aggregate_cache_key': ('EnvironmentVariableLoader',), 'content_safety_client_id': '0000000000000000000000000000000...00000000000000000000000000000', 'content_safety_endpoint': 'https://fake_cs_resource.cognitiveservices.azure.com', ...}
trimmed_kwargs = {'content_safety_endpoint': 'https://fake_cs_resource.cognitiveservices.azure.com', 'content_safety_key': '00000000000000000000000000000000'}
test_id = 'sdk/contentsafety/azure-ai-contentsafety/tests/recordings/test_blocklist.pyTestBlocklistCasetest_get_text_blocklist'
variables = {}
combined_call = <function recorded_by_proxy.<locals>.record_wrap.<locals>.combined_call at 0x112761e40>
test_variables = None, test_run = False, logger = <RootLogger root (INFO)>
def record_wrap(*args, **kwargs):
def transform_args(*args, **kwargs):
copied_positional_args = list(args)
request = copied_positional_args[1]
transform_request(request, recording_id)
return tuple(copied_positional_args), kwargs
trimmed_kwargs = {k: v for k, v in kwargs.items()}
trim_kwargs_from_test_function(test_func, trimmed_kwargs)
if is_live_and_not_recording():
return test_func(*args, **trimmed_kwargs)
test_id = get_test_id()
recording_id, variables = start_record_or_playback(test_id)
original_transport_func = RequestsTransport.send
def combined_call(*args, **kwargs):
adjusted_args, adjusted_kwargs = transform_args(*args, **kwargs)
result = original_transport_func(*adjusted_args, **adjusted_kwargs)
# make the x-recording-upstream-base-uri the URL of the request
# this makes the request look like it was made to the original endpoint instead of to the proxy
# without this, things like LROPollers can get broken by polling the wrong endpoint
parsed_result = url_parse.urlparse(result.request.url)
upstream_uri = url_parse.urlparse(result.request.headers["x-recording-upstream-base-uri"])
upstream_uri_dict = {
"scheme": upstream_uri.scheme,
"netloc": upstream_uri.netloc,
}
original_target = parsed_result._replace(**upstream_uri_dict).geturl()
result.request.url = original_target
return result
RequestsTransport.send = combined_call
# call the modified function
# we define test_variables before invoking the test so the variable is defined in case of an exception
test_variables = None
# this tracks whether the test has been run yet; used when calling the test function with/without `variables`
# running without `variables` in the `except` block leads to unnecessary exceptions in test execution output
test_run = False
try:
try:
test_variables = test_func(*args, variables=variables, **trimmed_kwargs)
test_run = True
except TypeError as error:
if "unexpected keyword argument" in str(error) and "variables" in str(error):
logger = logging.getLogger()
logger.info(
"This test can't accept variables as input. The test method should accept `**kwargs` and/or a "
"`variables` parameter to make use of recorded test variables."
)
else:
raise error
# if the test couldn't accept `variables`, run the test without passing them
if not test_run:
> test_variables = test_func(*args, **trimmed_kwargs)
.tox/mindependency/lib/python3.11/site-packages/devtools_testutils/proxy_testcase.py:238:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/test_blocklist.py:65: in test_get_t