TST: add datepattern for samplestestcases

pull/572/head
Daniel Black 2014-01-07 20:32:55 +11:00
parent ed9ed6d0cb
commit a115297ebd
1 changed files with 2 additions and 0 deletions

View File

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