From 8a1219a62267f7dbe5446c1579e665ca1f8075c6 Mon Sep 17 00:00:00 2001 From: John Rouillard Date: Mon, 30 Dec 2024 20:30:26 -0500 Subject: [PATCH] test: missed change in error wording. --- test/test_liveserver.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/test_liveserver.py b/test/test_liveserver.py index f5e3d540..b9748935 100644 --- a/test/test_liveserver.py +++ b/test/test_liveserver.py @@ -364,10 +364,11 @@ def test_broken_query(self): # verify the query has run by looking for the query name # print(f.text) - self.assertIn('Error when searching issue by creator using: ' + self.assertIn('There was an error searching issue by creator using: ' '[-2]. The operator -2 (not) at position 1 has ' 'too few arguments.', f.text) + self.assertEqual(f.status_code, 400) def test_broken_multiink_query(self): # query multilink item @@ -381,10 +382,11 @@ def test_broken_multiink_query(self): # verify the query has run by looking for the query name print(f.text) - self.assertIn('Error when searching issue by keyword using: ' + self.assertIn('There was an error searching issue by keyword using: ' '[-3]. The operator -3 (and) at position 1 has ' 'too few arguments.', f.text) + self.assertEqual(f.status_code, 400) def test_start_page(self): """ simple test that verifies that the server can serve a start page.