File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff 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.
You can’t perform that action at this time.
0 commit comments