Skip to content

Commit 7b4f1f0

Browse files
committed
fixed ruff
1 parent 128906f commit 7b4f1f0

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

tests/e2e/features/steps/common_http.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -187,15 +187,6 @@ def check_response_body_does_not_contain(context: Context, substring: str) -> No
187187
), f"The response text '{context.response.text}' contains '{substring}'"
188188

189189

190-
@then("The body of the response does not contain {substring}")
191-
def check_response_body_does_not_contain(context: Context, substring: str) -> None:
192-
"""Check that response body does not contain a substring."""
193-
assert context.response is not None, "Request needs to be performed first"
194-
assert (
195-
substring not in context.response.text
196-
), f"The response text '{context.response.text}' contains '{substring}'"
197-
198-
199190
@then("The body of the response is the following")
200191
def check_prediction_result(context: Context) -> None:
201192
"""Check the content of the response to be exactly the same.

0 commit comments

Comments
 (0)