def test_full_parsing(self): """class method from_file() should coupe with broken files""" self.assertNotEqual(LogEntries.from_file(self.filename), None)
def setUp(self): self.entries = LogEntries.from_file(os.path.join(CWD, 'httpd-access-test.log'))