l.s.t.test_command_spawner : module documentation

Part of lp.services.tests

Tests for CommandSpawner.
Function make_pipe Create a pipe of file objects.
Function write_and_flush Write text into pipe, and flush.
Class FakeProcess Fake subprocess.Popen result.
Function instrument_spawn Instrument spawner to spawn a fake process.
Function is_nonblocking Is this_file in non-blocking mode?
Class TestCommandSpawner Unit tests for CommandSpawner.
Class AcceptOutput Simple stdout or stderr handler.
Class TestCommandSpawnerAcceptance Acceptance tests for CommandSpawner.
Class TestOutputLineHandler Unit tests for OutputLineHandler.
def make_pipe():
Create a pipe of file objects.
def write_and_flush(pipe, text):
Write text into pipe, and flush.
def instrument_spawn(spawner, process):
Instrument spawner to spawn a fake process.
def is_nonblocking(this_file):
Is this_file in non-blocking mode?
API Documentation for Launchpad, generated by pydoctor at 2018-11-18 00:00:05.