示例#1
0
def test(generate_django_backend):
    run_generate_command_test(
        CliRunner(),
        generate_django,
        generate_django_backend.run,
        OPTIONS
    )
def test(generate_app_lifecycle_mgmt_backend):
    run_generate_command_test(CliRunner(), generate_app_lifecycle_mgmt,
                              generate_app_lifecycle_mgmt_backend.run, OPTIONS)
示例#3
0
def test(generate_tenant_backend):
    run_generate_command_test(CliRunner(), generate_tenant,
                              generate_tenant_backend.run, OPTIONS)
示例#4
0
def test(generate_account_backend):
    generate_account_backend.generate_account_seed.return_value = 'random-seed'
    run_generate_command_test(CliRunner(), generate_account,
                              generate_account_backend.run, OPTIONS)
示例#5
0
def test(generate_prodcut_backend):
    run_generate_command_test(CliRunner(), generate_product,
                              generate_prodcut_backend.run, OPTIONS)