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

ModuleNotFoundError when testing test_path #54

Open
TOFarmer opened this issue Feb 10, 2021 · 0 comments
Open

ModuleNotFoundError when testing test_path #54

TOFarmer opened this issue Feb 10, 2021 · 0 comments
Labels
Bug Issues that report incorrect or undesirable behaviour(s) Priority: 2 NORMAL: A task which is not critical and should be addressed when there are no higher priority issue

Comments

@TOFarmer
Copy link
Contributor

Summary

Testing of sal.core.tests.test_path fails because it imports jetserver.jetvfs.path.

Steps to reproduce

python -m pytest

What is the current bug behavior?

ImportError while importing test module '/home/tfarmer/Documents/GitHub_Repos/sal-original/source/sal/core/tests/test_path.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
../../../../anaconda3/envs/sal/lib/python3.7/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
sal/core/tests/test_path.py:3: in <module>
    import jetserver.jetvfs.path as pth
E   ModuleNotFoundError: No module named 'jetserver'

What is the expected correct behavior?

It should run the tests!

Possible fixes

Remove the import and alter any tests which depend on it.

@TOFarmer TOFarmer added Bug Issues that report incorrect or undesirable behaviour(s) Priority: Triage TRIAGE: Yet to be prioritized. Priority: 2 NORMAL: A task which is not critical and should be addressed when there are no higher priority issue and removed Priority: Triage TRIAGE: Yet to be prioritized. labels Feb 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Issues that report incorrect or undesirable behaviour(s) Priority: 2 NORMAL: A task which is not critical and should be addressed when there are no higher priority issue
Projects
None yet
Development

No branches or pull requests

1 participant