TST: datepattern needed in testSampleRegexsFactory

pull/590/head
Daniel Black 11 years ago
parent 1687505995
commit b963d17009

@ -78,6 +78,8 @@ def testSampleRegexsFactory(name):
self.filter.setMaxLines(opt[3]) self.filter.setMaxLines(opt[3])
elif opt[2] == "addignoreregex": elif opt[2] == "addignoreregex":
self.filter.addIgnoreRegex(opt[3]) self.filter.addIgnoreRegex(opt[3])
elif opt[2] == "datepattern":
self.filter.setDatePattern(opt[3])
self.assertTrue( self.assertTrue(
os.path.isfile(os.path.join(TEST_FILES_DIR, "logs", name)), os.path.isfile(os.path.join(TEST_FILES_DIR, "logs", name)),

Loading…
Cancel
Save