Example #1
0
 def test_stderr_ignored_for_stdout_regexes(self):
     regex = ToolStdioRegex()
     regex.stdout_match = True
     regex.match = "foo"
     self.__add_regex(regex)
     self.stderr = "foobar"
     self.__assertSuccessful()
Example #2
0
 def test_stderr_regex_positive_match(self):
     regex = ToolStdioRegex()
     regex.stderr_match = True
     regex.match = "foo"
     self.__add_regex(regex)
     self.stderr = "foobar"
     self.__assertNotSuccessful()