Skip to content

Commit 046b996

Browse files
committed
add module import test to fix pyflakes issue
1 parent 228046b commit 046b996

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

{{cookiecutter.project_name}}/tests/test_my_module.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66
from {{ cookiecutter.package_name }} import my_module
77

88

9+
def test_module_import():
10+
assert my_module not in sys.modules
11+
12+
913
def test_something():
1014
assert True
1115

0 commit comments

Comments
 (0)