Created
October 5, 2022 23:09
-
-
Save jcnars/1fdd3ec7bb1936b5b7f20735c27729a1 to your computer and use it in GitHub Desktop.
TDD : 3rd lab
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
devops@ibm-dev:/app/labs/03_test_fixtures/tests$ python -m unittest | |
E | |
====================================================================== | |
ERROR: test_account (unittest.loader._FailedTest) | |
---------------------------------------------------------------------- | |
ImportError: Failed to import test module: test_account | |
Traceback (most recent call last): | |
File "/usr/local/lib/python3.9/unittest/loader.py", line 436, in _find_test_path | |
module = self._get_module_from_name(name) | |
File "/usr/local/lib/python3.9/unittest/loader.py", line 377, in _get_module_from_name | |
__import__(name) | |
File "/app/labs/03_test_fixtures/tests/test_account.py", line 6, in <module> | |
from models import db | |
ModuleNotFoundError: No module named 'models' | |
---------------------------------------------------------------------- | |
Ran 1 test in 0.000s | |
FAILED (errors=1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment