From 2f7633466d0afd7709c1796a40f4e4b1803fea4c Mon Sep 17 00:00:00 2001 From: Su YR Date: Sat, 8 Apr 2023 14:52:15 +0800 Subject: [PATCH] test: add tests folder --- tests/test_creation.py | 2 ++ {{ cookiecutter.repo_name }}/tests/__init__.py | 0 2 files changed, 2 insertions(+) create mode 100644 {{ cookiecutter.repo_name }}/tests/__init__.py diff --git a/tests/test_creation.py b/tests/test_creation.py index 64f3a5c..d23fa41 100644 --- a/tests/test_creation.py +++ b/tests/test_creation.py @@ -52,6 +52,7 @@ def verify_folders(root, config): 'reports/figures', 'scripts', 'shells', + 'tests', config['module_name'], f"{config['module_name']}/data", f"{config['module_name']}/models", @@ -96,6 +97,7 @@ def verify_files(root, config): "scripts/train.py", "scripts/evaluate.py", "shells/train.sh", + "tests/__init__.py", f"{config['module_name']}/__init__.py", f"{config['module_name']}/data/__init__.py", f"{config['module_name']}/models/__init__.py", diff --git a/{{ cookiecutter.repo_name }}/tests/__init__.py b/{{ cookiecutter.repo_name }}/tests/__init__.py new file mode 100644 index 0000000..e69de29