def assertNotMatches(self, query, item_info): self.assertFalse(search.item_matches(item_info, query))
def assertMatches(self, query, item_info): self.assertTrue(search.item_matches(item_info, query))