You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is shown by running this command in the main dir.
for f in $(find tests -name '*py'|rg -v __init|rg -v test_utils); do pytest $f; done
(ssdg_venv) [austel@cccxl005 ~/fms-dgt]$ for f in $(find tests -name '*py'|rg -v __init|rg -v test_utils); do pytest $f; done
================================================================================================================ test session starts ================================================================================================================
platform linux -- Python 3.9.18, pytest-8.3.2, pluggy-1.5.0
rootdir: /dccstor/trail1/fms-dgt
configfile: pyproject.toml
plugins: anyio-4.4.0
collected 0 items / 1 error
====================================================================================================================== ERRORS =======================================================================================================================
__________________________________________________________________________________________________ ERROR collecting tests/dataloaders/test_file.py __________________________________________________________________________________________________
ImportError while importing test module '/dccstor/trail1/fms-dgt/tests/dataloaders/test_file.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
../anaconda3/lib/python3.9/importlib/init.py:127: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests/dataloaders/test_file.py:5: in
from fms_dgt.dataloaders.file import FileDataloader
E ModuleNotFoundError: No module named 'fms_dgt.dataloaders.file'
============================================================================================================== short test summary info ==============================================================================================================
ERROR tests/dataloaders/test_file.py
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
================================================================================================================= 1 error in 1.22s ==================================================================================================================
================================================================================================================ test session starts ================================================================================================================
platform linux -- Python 3.9.18, pytest-8.3.2, pluggy-1.5.0
rootdir: /dccstor/trail1/fms-dgt
configfile: pyproject.toml
plugins: anyio-4.4.0
collected 1 item
This is shown by running this command in the main dir.
for f in $(find tests -name '*py'|rg -v __init|rg -v test_utils); do pytest $f; done
(ssdg_venv) [austel@cccxl005 ~/fms-dgt]$ for f in $(find tests -name '*py'|rg -v __init|rg -v test_utils); do pytest $f; done
================================================================================================================ test session starts ================================================================================================================
platform linux -- Python 3.9.18, pytest-8.3.2, pluggy-1.5.0
rootdir: /dccstor/trail1/fms-dgt
configfile: pyproject.toml
plugins: anyio-4.4.0
collected 0 items / 1 error
====================================================================================================================== ERRORS =======================================================================================================================
__________________________________________________________________________________________________ ERROR collecting tests/dataloaders/test_file.py __________________________________________________________________________________________________
ImportError while importing test module '/dccstor/trail1/fms-dgt/tests/dataloaders/test_file.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
../anaconda3/lib/python3.9/importlib/init.py:127: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests/dataloaders/test_file.py:5: in
from fms_dgt.dataloaders.file import FileDataloader
E ModuleNotFoundError: No module named 'fms_dgt.dataloaders.file'
============================================================================================================== short test summary info ==============================================================================================================
ERROR tests/dataloaders/test_file.py
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
================================================================================================================= 1 error in 1.22s ==================================================================================================================
================================================================================================================ test session starts ================================================================================================================
platform linux -- Python 3.9.18, pytest-8.3.2, pluggy-1.5.0
rootdir: /dccstor/trail1/fms-dgt
configfile: pyproject.toml
plugins: anyio-4.4.0
collected 1 item
tests/dataloaders/test_default.py F [100%]
===================================================================================================================== FAILURES ======================================================================================================================
________________________________________________________________________________________________________ TestDefaultDataloader.test_iterate _________________________________________________________________________________________________________
self = <tests.dataloaders.test_default.TestDefaultDataloader object at 0x7fa745737ca0>
E TypeError: init() got an unexpected keyword argument 'data'
tests/dataloaders/test_default.py:8: TypeError
....
The text was updated successfully, but these errors were encountered: