From 08a7bd45eca0eb3c9202d1ad6979624e85107ca4 Mon Sep 17 00:00:00 2001 From: "Christoph J. Scherr" Date: Sun, 23 Mar 2025 13:35:20 +0100 Subject: [PATCH] chore: fix flake8 warnings in test_haiku.py Refs: OPS-70 OPS-81 --- tests/test_haiku.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/test_haiku.py b/tests/test_haiku.py index c1b03ed..b970751 100644 --- a/tests/test_haiku.py +++ b/tests/test_haiku.py @@ -61,7 +61,8 @@ def test_request_haiku_respondse_bad(httpserver: HTTPServer): with pytest.raises(requests.exceptions.JSONDecodeError): 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"))