mirror of
https://github.com/senju1337/senju.git
synced 2025-12-24 07:39:29 +00:00
chore: fix flake8 warnings in test_haiku.py
Refs: OPS-70 OPS-81
This commit is contained in:
parent
0c0554e931
commit
08a7bd45ec
1 changed files with 3 additions and 2 deletions
|
|
@ -61,7 +61,8 @@ def test_request_haiku_respondse_bad(httpserver: HTTPServer):
|
||||||
with pytest.raises(requests.exceptions.JSONDecodeError):
|
with pytest.raises(requests.exceptions.JSONDecodeError):
|
||||||
|
|
||||||
httpserver.expect_request(
|
httpserver.expect_request(
|
||||||
"/testhaiku").respond_with_data("this is completely wrong" + ("A" * 50 + "\n") * 20)
|
"/testhaiku").respond_with_data(
|
||||||
|
"this is completely wrong" + ("A" * 50 + "\n") * 20)
|
||||||
|
|
||||||
_haiku = Haiku.request_haiku(
|
Haiku.request_haiku(
|
||||||
"apple banana papaya", url=httpserver.url_for("/testhaiku"))
|
"apple banana papaya", url=httpserver.url_for("/testhaiku"))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue