def test_input_valid(run_expo_app_publish_backend): run_options_test( CliRunner(), run_expo_app_publish, ALL_VALID_OPTIONS, run_expo_app_publish_backend.run, )
def test_list_reference_types_input_valid( blueprint_mock, ContextClassMock, ): run_options_test( CliRunner(), list_reference_types, LIST_TYPES_VALID_OPTIONS, blueprint_mock.run )
def test_input_valid(update_image_reference_backend): run_options_test( CliRunner(), update_image_reference, ALL_VALID_OPTIONS, update_image_reference_backend, )
def test_input_valid(manage_credentials_crypto_backend): runner = CliRunner() with runner.isolated_filesystem(): os.mknod('crypto_file') # testing that's impossible to run without full set of required options run_options_test(runner, manage_credentials_crypto, ALL_VALID_OPTIONS, manage_credentials_crypto_backend.run)
def test_input_valid(run_sentry_release_backend): run_options_test( CliRunner(), run_sentry_release, ALL_VALID_OPTIONS, run_sentry_release_backend.run, )
def test_query_references_input_valid( blueprint_mock, ContextClassMock, ): run_options_test( CliRunner(), query_references, QUERY_REFERENCES_VALID_OPTIONS, blueprint_mock.run, )
def test_query_layer_types_input_valid( blueprint_mock, ContextClassMock, ): run_options_test( CliRunner(), query_layer_types, QUERY_TYPES_VALID_OPTIONS, blueprint_mock.run, )
def test_describe_layer_input_valid( blueprint_mock, ContextClassMock, ): run_options_test( CliRunner(), describe_layer, DECSCRIBE_LAYER_VALID_OPTIONS, blueprint_mock.run, )
def test_describe_component_type_input_valid( blueprint_mock, ContextClassMock, ): run_options_test( CliRunner(), describe_component_type, DECSCRIBE_TYPE_VALID_OPTIONS, blueprint_mock.run, )
def test_describe_runbook_input_valid( blueprint_mock, ContextClassMock, ): run_options_test( CliRunner(), describe_runbook, DECSCRIBE_RUNBOOK_VALID_OPTIONS, blueprint_mock.run, )
def test_describe_reference_input_valid( blueprint_mock, ContextClassMock, ): run_options_test( CliRunner(), describe_reference, DECSCRIBE_REFERENCE_VALID_OPTIONS, blueprint_mock.run, )
def test_input_valid(manage_file_crypto_backend): runner = CliRunner() with runner.isolated_filesystem(): open("crypto_file", "w").close() run_options_test( runner, manage_file_crypto, ALL_VALID_OPTIONS, manage_file_crypto_backend.run, )
def test_input_valid( blueprint_mock, ContextClassMock, create_template_backend, test_generate_backend, test_run_backend, ): run_options_test( CliRunner(), test_deployments, ALL_VALID_OPTIONS, blueprint_mock.run )
def test_input_valid(upload_image_backend): run_options_test(CliRunner(), upload_image, ALL_VALID_OPTIONS, upload_image_backend)
def test_input_valid(create_buildblueprint_backend): run_options_test(CliRunner(), create_buildblueprint, ALL_VALID_OPTIONS, create_buildblueprint_backend.run)
def test_input_valid(run_lambda_func_backend): run_options_test(CliRunner(), run_lambda_func, ALL_VALID_OPTIONS, run_lambda_func_backend.run)
def test_input_valid(run_pipeline_backend): run_options_test(CliRunner(), run_pipeline, ALL_VALID_OPTIONS, run_pipeline_backend.run)
def test_list_layers_input_valid( blueprint_mock, ContextClassMock, ): run_options_test(CliRunner(), list_layers, LIST_LAYERS_VALID_OPTIONS, blueprint_mock.run)
def test_input_valid(manage_file_crypto_backend): runner = CliRunner() with runner.isolated_filesystem(): os.mknod('crypto_file') run_options_test(runner, manage_file_crypto, ALL_VALID_OPTIONS, manage_file_crypto_backend.run)
def test_input_valid(manage_deployment_backend): run_options_test( CliRunner(), manage_deployment, ALL_VALID_OPTIONS, manage_deployment_backend.run )
def test_input_valid(manage_stack_backend): run_options_test(CliRunner(), manage_stack, ALL_VALID_OPTIONS, manage_stack_backend.run)
def test_input_valid(create_template_backend, create_diagram_backend): run_options_test( CliRunner(), draw_diagrams, ALL_VALID_OPTIONS, create_template_backend.run )
def test_input_valid(transfer_image_backend): run_options_test( CliRunner(), transfer_image, ALL_VALID_OPTIONS, transfer_image_backend )
def test_input_valid(run_task_backend): run_options_test(CliRunner(), run_task, ALL_VALID_OPTIONS, run_task_backend.run)
def test_input_valid(blueprint_mock, ContextClassMock, create_template_backend): run_options_test(CliRunner(), create_schemas, ALL_VALID_OPTIONS, blueprint_mock.run)
def test_input_valid(create_template_backend): run_options_test(CliRunner(), create_template, ALL_VALID_OPTIONS, create_template_backend.run)
def test_input_valid(blueprint_mock, ContextClassMock, contract_backend): run_options_test(CliRunner(), run_runbook, ALL_VALID_OPTIONS, contract_backend.run)
def test_input_valid(create_reference_backend): runner = CliRunner() with runner.isolated_filesystem(): os.mkdir('output_dir') run_options_test(runner, create_reference, ALL_VALID_OPTIONS, create_reference_backend.run)