Skip to content

Commit

Permalink
Fix for blacken-docs linter
Browse files Browse the repository at this point in the history
  • Loading branch information
zeezdev committed Oct 20, 2023
1 parent 48f9615 commit aa29301
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1136,16 +1136,28 @@ applications.
assert rsp0123.call_count == 1
assert rsp0123.calls[0] in responses.calls
assert json.loads(rsp0123.calls[0].request.body) == {"client": True, "admin": False, "disabled": False}
assert json.loads(rsp0123.calls[0].request.body) == {
"client": True,
"admin": False,
"disabled": False,
}
assert rsp1234.call_count == 1
assert rsp1234.calls[0] in responses.calls
assert json.loads(rsp1234.calls[0].request.body) == {"client": False, "admin": True, "disabled": False}
assert json.loads(rsp1234.calls[0].request.body) == {
"client": False,
"admin": True,
"disabled": False,
}
assert rsp1234.calls[0].response.json() == {"OK": False, "uid": "1234"}
assert rsp2345.call_count == 1
assert rsp2345.calls[0] in responses.calls
assert json.loads(rsp2345.calls[0].request.body) == {"client": False, "admin": False, "disabled": True}
assert json.loads(rsp2345.calls[0].request.body) == {
"client": False,
"admin": False,
"disabled": True,
}
Multiple Responses
Expand Down

0 comments on commit aa29301

Please sign in to comment.