def test_search_with_colon(self): l = ActivityLog(self.actlog_single) item = l.find('in: This is default') assert item
def test_find_empty_result(self): logs = ActivityLog(self.actlog_single) with self.assertRaises(exceptions.NotFoundError): logs.find("foo bar")