예제 #1
0
 def test_parsing(self):
     """Parse all lines in file"""
     for line in self.data[1:]:
         LogEntries.parse_line(line, LogEntries.default_format)
예제 #2
0
 def test_full_parsing(self):
    """class method from_file() should coupe with broken files"""
    self.assertNotEqual(LogEntries.from_file(self.filename), None)
예제 #3
0
파일: test_lql.py 프로젝트: SaveTheRbtz/lql
 def setUp(self):
     self.entries = LogEntries.from_file(os.path.join(CWD, 'httpd-access-test.log'))