Mercurial > p > roundup > code
changeset 8242:393dfc750d8b
test: missed change in error wording.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Mon, 30 Dec 2024 20:30:26 -0500 |
| parents | 741ea8a86012 |
| children | 8c1e0459b73d |
| files | test/test_liveserver.py |
| diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/test/test_liveserver.py Mon Dec 30 20:22:55 2024 -0500 +++ b/test/test_liveserver.py Mon Dec 30 20:30:26 2024 -0500 @@ -364,10 +364,11 @@ # 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 @@ # 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.
