module documentation
(source)

End-to-end test cases for the daemon (dmypy).

These are special because they run multiple shell commands.

This also includes some unit tests.

Class ​Daemon​Suite Undocumented
Class ​Daemon​Utility​Suite Unit tests for helpers
Function parse​_script Parse testcase.input into steps.
Function run​_cmd Undocumented
Function test​_daemon Undocumented
Variable daemon​_files Undocumented
def parse_script(input): (source)

Parse testcase.input into steps.

Each command starts with a line starting with '$'. The first line (less '$') is sent to the shell. The remaining lines are expected output.

Parameters
input:List[str]Undocumented
Returns
List[List[str]]Undocumented
def run_cmd(input): (source)

Undocumented

Parameters
input:strUndocumented
Returns
Tuple[int, str]Undocumented
def test_daemon(testcase): (source)

Undocumented

Parameters
testcase:DataDrivenTestCaseUndocumented
daemon_files: list[str] = (source)

Undocumented