def setup(instruction_name: str) -> SingleInstructionSetup: return SingleInstructionSetup( instruction_from_parts.Parser(run.parts_parser(instruction_name)), run.TheInstructionDocumentation( instruction_name, run.NON_ASSERT_PHASE_SINGLE_LINE_DESCRIPTION, outcome=run.NON_ASSERT_PHASE_OUTCOME))
def setup(instruction_name: str) -> SingleInstructionSetup: return SingleInstructionSetup( instruction_from_parts.Parser(run.parts_parser(instruction_name)), run.TheInstructionDocumentation( instruction_name, single_line_description=_get_single_line_description(), outcome=_get_outcome, ))
def suite() -> unittest.TestSuite: return unittest.TestSuite([ unittest.makeSuite(TestExecuteProgramWithShellArgumentList), unittest.makeSuite(TestExecuteInterpret), unittest.makeSuite(TestSource), suite_for_instruction_documentation(sut.TheInstructionDocumentation('instruction name', 'single line description', _get_outcome)), ])