make all failed due to none utils
Closed this issue · 0 comments
$ make all
PYTHONPATH=/home/abner/workspace/git/omnisearch/search pytest tests
================================================================================ test session starts ================================================================================
platform linux -- Python 3.6.9, pytest-5.3.5, py-1.8.1, pluggy-0.13.1
rootdir: /home/abner/workspace/git/omnisearch
collected 0 items / 1 error
====================================================================================== ERRORS =======================================================================================
_______________________________________________________________________ ERROR collecting tests/test_utils.py ________________________________________________________________________
ImportError while importing test module '/home/abner/workspace/git/omnisearch/tests/test_utils.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
tests/test_utils.py:2: in
from common.utils import save_tmp_file
E ModuleNotFoundError: No module named 'common.utils'
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
================================================================================= 1 error in 0.04s ==================================================================================
Makefile:9: recipe for target 'test' failed
make: *** [test] Error 2