Esempio n. 1
0
 def test_raise_invalid_if_too_much(self):
     with self.assertRaises(InvalidQuery):
         _check_query_block(doe_paper, 'whatever:value:too_much')
Esempio n. 2
0
 def test_raise_invalid_if_too_much(self):
     with self.assertRaises(InvalidQuery):
         _check_query_block(doe_paper, 'whatever:value:too_much')
Esempio n. 3
0
 def test_raise_invalid_if_no_value(self):
     with self.assertRaises(InvalidQuery):
         _check_query_block(doe_paper, 'title')
Esempio n. 4
0
 def test_raise_invalid_if_no_value(self):
     with self.assertRaises(InvalidQuery):
         _check_query_block(doe_paper, 'title')