Skip to content

Commit ca5476f

Browse files
committed
tests: fix new testclient api
1 parent 166fb36 commit ca5476f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

murdock/tests/test_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ def test_update_job_status(
321321
running.return_value = job_running
322322
commit_status.return_value = job_found
323323
status = {"status": "test"}
324-
response = client.put("/job/abcdef/status", json.dumps(status), headers=headers)
324+
response = client.put("/job/abcdef/status", json=status, headers=headers)
325325
running.assert_called_with("abcdef")
326326
assert response.status_code == code
327327
if response.status_code in [200, 404]:

0 commit comments

Comments
 (0)