def test_runSuccess(self):
        builder = BookBuilder()
        self.assertEquals(
                builder.run([
                    sys.executable, '-c',
                    'import sys; '
                    'sys.stdout.write("hi\\n"); '
                    'sys.stdout.flush(); '
                    'sys.stderr.write("bye\\n"); '
                    'sys.stderr.flush()']),
                "hi\nbye\n")
L{BookBuilder.run} executes the command it is passed and returns a
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/python/test/test_release.py/BookBuilderTests.test_runSuccess