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