mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-09 14:34:53 +03:00
Clean-up test case superseded by main project generation
This commit is contained in:
parent
ca169c13c1
commit
1afb80af0a
|
@ -93,24 +93,6 @@ def test_project_generation(
|
|||
check_paths(paths)
|
||||
|
||||
|
||||
@pytest.fixture(params=["use_mailhog", "use_celery", "windows"])
|
||||
def feature_context(request, context):
|
||||
context.update({request.param: "y"})
|
||||
return context
|
||||
|
||||
|
||||
def test_enabled_features(cookies, feature_context):
|
||||
result = cookies.bake(extra_context=feature_context)
|
||||
assert result.exit_code == 0
|
||||
assert result.exception is None
|
||||
assert result.project.basename == feature_context["project_slug"]
|
||||
assert result.project.isdir()
|
||||
|
||||
paths = build_files_list(str(result.project))
|
||||
assert paths
|
||||
check_paths(paths)
|
||||
|
||||
|
||||
@pytest.mark.parametrize("windows", BINARY_CHOICES)
|
||||
@pytest.mark.parametrize("use_docker", BINARY_CHOICES)
|
||||
@pytest.mark.parametrize("use_celery", BINARY_CHOICES)
|
||||
|
|
Loading…
Reference in New Issue
Block a user