Skip to content

Commit

Permalink
[Test Proxy] Always return dictionary from tests (#22799)
Browse files Browse the repository at this point in the history
  • Loading branch information
mccoyp authored Jan 27, 2022
1 parent 1c7f65b commit 2162742
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 2162742

Please sign in to comment.