Skip to content

Commit

Permalink
test: missed change in error wording.
Browse files Browse the repository at this point in the history
  • Loading branch information
rouilj committed Dec 31, 2024
1 parent c1813e8 commit 8a1219a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/test_liveserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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.
Expand Down

0 comments on commit 8a1219a

Please sign in to comment.