Skip to content

Commit

Permalink
Move API tests into a package
Browse files Browse the repository at this point in the history
Mirroring the structure of the code being tested
  • Loading branch information
browniebroke committed Dec 31, 2024
1 parent 5b4e769 commit 683f207
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions hooks/post_gen_project.py
Original file line number Diff line number Diff line change
Expand Up @@ -433,9 +433,7 @@ def remove_aws_dockerfile():
def remove_drf_starter_files():
os.remove(os.path.join("config", "api_router.py"))
shutil.rmtree(os.path.join("{{cookiecutter.project_slug}}", "users", "api"))
os.remove(os.path.join("{{cookiecutter.project_slug}}", "users", "tests", "test_drf_urls.py"))
os.remove(os.path.join("{{cookiecutter.project_slug}}", "users", "tests", "test_drf_views.py"))
os.remove(os.path.join("{{cookiecutter.project_slug}}", "users", "tests", "test_swagger.py"))
shutil.rmtree(os.path.join("{{cookiecutter.project_slug}}", "users", "tests", "api"))


def main():
Expand Down
Empty file.

0 comments on commit 683f207

Please sign in to comment.