We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 166fb36 commit ca5476fCopy full SHA for ca5476f
murdock/tests/test_api.py
@@ -321,7 +321,7 @@ def test_update_job_status(
321
running.return_value = job_running
322
commit_status.return_value = job_found
323
status = {"status": "test"}
324
- response = client.put("/job/abcdef/status", json.dumps(status), headers=headers)
+ response = client.put("/job/abcdef/status", json=status, headers=headers)
325
running.assert_called_with("abcdef")
326
assert response.status_code == code
327
if response.status_code in [200, 404]:
0 commit comments