Add test for deploy create
This commit is contained in:
parent
a081cc32c2
commit
2d3ec2f91f
@ -45,6 +45,13 @@ def init(command_context: DeployCommandContext):
|
|||||||
return yaml.load(default_spec_file_content)
|
return yaml.load(default_spec_file_content)
|
||||||
|
|
||||||
|
|
||||||
|
def create(command_context: DeployCommandContext):
|
||||||
|
data = "create-command-output-data"
|
||||||
|
output_file_path = command_context.deployment_dir.joinpath("create-file")
|
||||||
|
with open(output_file_path, 'w+') as output_file:
|
||||||
|
output_file.write(data)
|
||||||
|
|
||||||
|
|
||||||
def get_state(command_context: DeployCommandContext):
|
def get_state(command_context: DeployCommandContext):
|
||||||
print("Here we get state")
|
print("Here we get state")
|
||||||
return State.CONFIGURED
|
return State.CONFIGURED
|
||||||
|
Loading…
Reference in New Issue
Block a user