Exemplo n.º 1
0
 def test_stdout_ignored_for_stderr_regexes(self):
     regex = ToolStdioRegex()
     regex.stderr_match = True
     regex.match = "foo"
     self.__add_regex(regex)
     self.stdout = "foobar"
     self.__assertSuccessful()
Exemplo n.º 2
0
 def test_stdout_ignored_for_stderr_regexes( self ):
     regex = ToolStdioRegex()
     regex.stderr_match = True
     regex.match = "foo"
     self.__add_regex( regex )
     self.stdout = "foobar"
     self.__assertSuccessful()
Exemplo n.º 3
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()
Exemplo n.º 4
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()