Пример #1
0
def test_api_with_cookiecutter(tmpdir):  # noqa
    template = "https://github.com/audreyr/cookiecutter-pypackage.git"
    opts = cli.get_default_opts("created_proj_with_api", cookiecutter_template=template)
    cli.create_project(opts)
    assert os.path.exists("created_proj_with_api")
Пример #2
0
def test_api_with_cookiecutter(tmpdir):  # noqa
    template = 'https://github.com/audreyr/cookiecutter-pypackage.git'
    opts = cli.get_default_opts('created_proj_with_api',
                                cookiecutter_template=template)
    cli.create_project(opts)
    assert os.path.exists('created_proj_with_api')
Пример #3
0
def test_api(tmpdir):  # noqa
    opts = cli.get_default_opts("created_proj_with_api")
    cli.create_project(opts)
    assert os.path.exists("created_proj_with_api")
Пример #4
0
def test_api(tmpdir):  # noqa
    opts = cli.get_default_opts('created_proj_with_api')
    cli.create_project(opts)
    assert os.path.exists('created_proj_with_api')