Skip to content

Commit

Permalink
[Test Proxy] Always return dictionary from tests (Azure#22799)
Browse files Browse the repository at this point in the history
  • Loading branch information
mccoyp authored and rakshith91 committed Apr 10, 2022
1 parent 57b4a00 commit 0c51b05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/azure-sdk-tools/devtools_testutils/proxy_testcase.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 0c51b05

Please sign in to comment.