tests.processor.test_test_command_callback.DummyDockerCommandScriptGenerator¶
- class DummyDockerCommandScriptGenerator(callback: Callable, command_type: taxonomy.taxonomy.CommandType, commands: List[str], metadata: taxonomy.taxonomy.MetaData, worktree: processor.core.data.Worktree)[source]¶
Bases:
processor.core.command.DockerCommandScriptGenerator
- __init__(callback: Callable, command_type: taxonomy.taxonomy.CommandType, commands: List[str], metadata: taxonomy.taxonomy.MetaData, worktree: processor.core.data.Worktree)[source]¶
Methods
__init__
(callback, command_type, commands, ...)create
()Yield DockerCommandScript.
Attributes
Metadata information of the current script.
True if command should be streamed, otherwise False.
Worktree information of the current script.
- create() Generator[processor.core.command.DockerCommandScript, None, None] [source]¶
Yield DockerCommandScript.
- property metadata¶
Metadata information of the current script.
- property stream¶
True if command should be streamed, otherwise False.
- property worktree¶
Worktree information of the current script.