Exemple #1
0
    def _assertStdOutCaptured(self):
        sayHelloOnOut = echoplugin.EchoRequest(
            data='HELLO', stdout=True, exitCode=1)
        result = self._callEchoPlugin(sayHelloOnOut)

        self._assertNonZeroStatus(result)

        assertions.assertIn('stdout: HELLO', result)
Exemple #2
0
    def _assertStdErrCaptured(self):
        sayHelloOnError = echoplugin.EchoRequest(
            data='HELLO', stderr=True, exitCode=1)
        result = self._callEchoPlugin(sayHelloOnError)

        self._assertNonZeroStatus(result)

        assertions.assertIn('stderr: HELLO', result)
Exemple #3
0
    def _assertStdErrCaptured(self):
        sayHelloOnError = echoplugin.EchoRequest(data='HELLO',
                                                 stderr=True,
                                                 exitCode=1)
        result = self._callEchoPlugin(sayHelloOnError)

        self._assertNonZeroStatus(result)

        assertions.assertIn('stderr: HELLO', result)