diff --git a/tools/azure-sdk-tools/devtools_testutils/proxy_testcase.py b/tools/azure-sdk-tools/devtools_testutils/proxy_testcase.py index c83dcc0833a9..1c48a7e46d33 100644 --- a/tools/azure-sdk-tools/devtools_testutils/proxy_testcase.py +++ b/tools/azure-sdk-tools/devtools_testutils/proxy_testcase.py @@ -138,7 +138,7 @@ def stop_record_or_playback(test_id, recording_id, test_output): "x-recording-save": "true", "Content-Type": "application/json" }, - json=test_output + json=test_output or {} # tests don't record successfully unless test_output is a dictionary ) else: requests.post(