Skip to content

Commit ba200d8

Browse files
committed
Fix import error
Fix import error: import file mismatch: imported module 'test_mas' has this __file__ attribute: /home/runner/work/python-devops/python-devops/test/src/test_mas.py which is not the same as the test file we want to collect: /home/runner/work/python-devops/python-devops/test/unit/test_mas.py HINT: remove __pycache__ / .pyc files and/or use a unique basename for your test file modules
1 parent 612fd4c commit ba200d8

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ build: venv
1919
# package which is linked to the files you are editing so there is no need to
2020
# re-install after each change.
2121
unit-test:
22-
. venv/bin/activate && pytest test/unit
22+
. venv/bin/activate && pytest test/src/mock
2323

2424
lint: venv
2525
rm -f README.rst

0 commit comments

Comments
 (0)