diff --git a/project_scaffold_cli/templates/python/{{project_slug}}/test_main.py.j2 b/project_scaffold_cli/templates/python/{{project_slug}}/test_main.py.j2 new file mode 100644 index 0000000..6b38c4e --- /dev/null +++ b/project_scaffold_cli/templates/python/{{project_slug}}/test_main.py.j2 @@ -0,0 +1,15 @@ +"""Test module for {{ project_name }}.""" + +import pytest + +from {{ project_slug }} import __version__ + + +def test_version(): + """Test version is a string.""" + assert isinstance(__version__, str) + + +def test_example(): + """Example test.""" + assert True