Untitled

 avatar
unknown
plain_text
5 days ago
2.3 kB
6
Indexable
PS C:\HK\PI HK Data Reservoir\pi-hk-data-reservoir\src\lambdas\citi\inv_trxn_src_rules\tests\unit> python -m pytest --cov
========================================================================= test session starts ==========================================================================
platform win32 -- Python 3.12.1, pytest-8.3.5, pluggy-1.5.0
rootdir: C:\HK\PI HK Data Reservoir\pi-hk-data-reservoir\src\lambdas\citi\inv_trxn_src_rules\tests\unit
plugins: cov-6.0.0
collected 0 items / 1 error

================================================================================ ERRORS ================================================================================
________________________________________________________________ ERROR collecting test_common_utils.py _________________________________________________________________
ImportError while importing test module 'C:\HK\PI HK Data Reservoir\pi-hk-data-reservoir\src\lambdas\citi\inv_trxn_src_rules\tests\unit\test_common_utils.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Users\c743063\AppData\Local\Programs\Python\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
test_common_utils.py:21: in <module>
    from src import common_utils
E   ModuleNotFoundError: No module named 'src'

---------- coverage: platform win32, python 3.12.1-final-0 -----------
Name                   Stmts   Miss  Cover
------------------------------------------
test_common_utils.py      28     10    64%
test_source_rules.py       0      0   100%
------------------------------------------
TOTAL                     28     10    64%

======================================================================= short test summary info ======================================================================== 
ERROR test_common_utils.py
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 
=========================================================================== 1 error in 0.45s =========================================================================== 
Editor is loading...
Leave a Comment