Skip to content

Commit 39467ac

Browse files
committed
Applied suggestion from code review
1 parent 8a50df3 commit 39467ac

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

tests/test_copier.py

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,13 @@ def test_project_folder(default_project):
1111
"LICENSE",
1212
"CONTRIBUTING.rst",
1313
"pyproject.toml",
14+
"my_project/__init__.py",
15+
"my_project/my_project.py",
1416
])
1517
def test_generated_file_exists(default_project, file_name):
1618
assert default_project.project_dir.joinpath(file_name).exists()
1719

1820

19-
@pytest.mark.parametrize("file_name", [
20-
"__init__.py",
21-
"my_project.py",
22-
])
23-
def test_generated_file_in_project_slug_exists(default_project, file_name):
24-
assert default_project.project_dir.joinpath('my_project').joinpath(
25-
file_name).exists()
26-
27-
2821
@pytest.mark.parametrize("desired", [
2922
"\nmy_project_description\n",
3023
"pip install my_project",

0 commit comments

Comments
 (0)