ENH: per original discussion, and changes which followed, better not to ignore absent failregex -- all filters (but included common) should have it

pull/522/head
Yaroslav Halchenko 11 years ago
parent 4e165c9692
commit 952de51cf1

@ -71,10 +71,6 @@ def testSampleRegexsFactory(name):
elif opt[2] == "addignoreregex": elif opt[2] == "addignoreregex":
self.filter.addIgnoreRegex(opt[3]) self.filter.addIgnoreRegex(opt[3])
if not self.filter.getFailRegex():
# No fail regexs set: likely just common file for includes.
return
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)),
"No sample log file available for '%s' filter" % name) "No sample log file available for '%s' filter" % name)

Loading…
Cancel
Save