From b5cc602bbcd3d8efd27bf06fb2b2fa77cffd89fb Mon Sep 17 00:00:00 2001 From: Alex Parsons Date: Tue, 24 Dec 2024 12:58:59 +0000 Subject: [PATCH] Change whip report tests Now title it always visible - just with different text beneath. --- tests/test_whip_reports.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_whip_reports.py b/tests/test_whip_reports.py index a43cb7a..0fc3ed1 100644 --- a/tests/test_whip_reports.py +++ b/tests/test_whip_reports.py @@ -29,7 +29,7 @@ def whip_report(): def test_original_data(client: Client): response = client.get("/decisions/division/commons/2016-12-13/109") content = response.content.decode() - for text in ["Whip reports", "against", "three_line"]: + for text in ["against", "three_line"]: assert text not in content @@ -38,7 +38,7 @@ def test_original_data_json(client: Client): content = response.content.decode() response = client.get("/decisions/division/commons/2016-12-13/109") content = response.content.decode() - for text in ["Whip reports", "against", "three_line"]: + for text in ["against", "three_line"]: assert text not in content