Skip to content

Commit 8a1219a

Browse files
committed
test: missed change in error wording.
1 parent c1813e8 commit 8a1219a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

test/test_liveserver.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -364,10 +364,11 @@ def test_broken_query(self):
364364

365365
# verify the query has run by looking for the query name
366366
# print(f.text)
367-
self.assertIn('Error when searching issue by creator using: '
367+
self.assertIn('There was an error searching issue by creator using: '
368368
'[-2]. The operator -2 (not) at position 1 has '
369369
'too few arguments.',
370370
f.text)
371+
self.assertEqual(f.status_code, 400)
371372

372373
def test_broken_multiink_query(self):
373374
# query multilink item
@@ -381,10 +382,11 @@ def test_broken_multiink_query(self):
381382

382383
# verify the query has run by looking for the query name
383384
print(f.text)
384-
self.assertIn('Error when searching issue by keyword using: '
385+
self.assertIn('There was an error searching issue by keyword using: '
385386
'[-3]. The operator -3 (and) at position 1 has '
386387
'too few arguments.',
387388
f.text)
389+
self.assertEqual(f.status_code, 400)
388390

389391
def test_start_page(self):
390392
""" simple test that verifies that the server can serve a start page.

0 commit comments

Comments
 (0)