Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests failing after PR #67 #70

Open
ftherrien opened this issue Oct 13, 2023 · 1 comment
Open

Tests failing after PR #67 #70

ftherrien opened this issue Oct 13, 2023 · 1 comment
Assignees

Comments

@ftherrien
Copy link
Member

Some tests are failing since PR #67 (or before?!)

================================== short test summary info ===================================
FAILED tests/decorations/test_defects.py::test_iterator - AttributeError: 'pylada.decorations._decorations.FCIterator' object has no attribute '_FC...
FAILED tests/decorations/test_fciterator.py::test_fciterator - AttributeError: 'pylada.decorations._decorations.FCIterator' object has no attribute '_FC...
FAILED tests/espresso/test_extract.py::test_cellshape - AssertionError: assert False
FAILED tests/espresso/test_pwscf.py::test_iteration - TypeError: __init__() got an unexpected keyword argument 'prefix'
FAILED tests/espresso/bdd/test_restart.py::test_check_restart_input - pylada.error.RuntimeError: Cannot restart from unsuccessful calculation
FAILED tests/espresso/bdd/test_restart.py::test_check_restarted_run - pylada.error.RuntimeError: Cannot restart from unsuccessful calculation
============= 6 failed, 475 passed, 35 skipped, 58 warnings in 74.74s (0:01:14) ==============
@ftherrien
Copy link
Member Author

To run tests:

python -m venv pylada
source pylada/bin/activate
git clone https://github.com/pylada/pylada-light
cd pylada-light
pip install cython setuptools wheel scikit-build cmake ninja numpy pytest pytest-bdd
pip install -e .[dev]
python -m pytest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants