tests.util package

Submodules

tests.util.test_cli module

class tests.util.test_cli.TestCli(methodName='runTest')

Bases: unittest.case.TestCase

tests.util.test_reflection module

class tests.util.test_reflection.TestReflection(methodName='runTest')

Bases: unittest.case.TestCase

ignore_subclasses_in_pkg_returns_expected_entries()
test_classes_in_module_returns_expected_entries()
test_classes_in_pkg_returns_expected_entries()
test_filter_subclasses_returns_expected_result()
test_is_pkg_returns_False_for_module()
test_is_pkg_returns_True_for_pkg()
test_load_class_by_name_works()

tests.util.test_subprocess module

class tests.util.test_subprocess.TestSubprocess(methodName='runTest')

Bases: unittest.case.TestCase

test_call_and_write_stdout_to_file_returns_error_exit_code()
test_call_and_write_stdout_to_file_returns_exit_code()
test_call_and_write_stdout_to_file_writes_stdout_to_file()
test_call_returns_0_if_subprocess_returns_0()
test_call_returns_1_if_subprocess_returns_1()
test_call_with_output_reducers_returns_nonzero_exit_code_for_failing_application()
test_call_with_output_reducers_with_stderr_reducer_works_as_expected()
test_call_with_output_reducers_with_stdout_reducer_works_as_expected()
test_call_with_stdout_reducer_returns_exit_code_and_final_state()
test_call_with_stdout_reducer_returns_nonzero_exit_code_for_failing_application()

Module contents