def _assertStdOutCaptured(self): sayHelloOnOut = echoplugin.EchoRequest( data='HELLO', stdout=True, exitCode=1) result = self._callEchoPlugin(sayHelloOnOut) self._assertNonZeroStatus(result) assertions.assertIn('stdout: HELLO', result)
def _assertStdErrCaptured(self): sayHelloOnError = echoplugin.EchoRequest( data='HELLO', stderr=True, exitCode=1) result = self._callEchoPlugin(sayHelloOnError) self._assertNonZeroStatus(result) assertions.assertIn('stderr: HELLO', result)
def _assertStdErrCaptured(self): sayHelloOnError = echoplugin.EchoRequest(data='HELLO', stderr=True, exitCode=1) result = self._callEchoPlugin(sayHelloOnError) self._assertNonZeroStatus(result) assertions.assertIn('stderr: HELLO', result)