def test_raise_invalid_if_too_much(self): with self.assertRaises(InvalidQuery): _check_query_block(doe_paper, 'whatever:value:too_much')
def test_raise_invalid_if_no_value(self): with self.assertRaises(InvalidQuery): _check_query_block(doe_paper, 'title')