-
Notifications
You must be signed in to change notification settings - Fork 29
Description
Current behaviour
Undefined modules are
- from tix.storage.context_storage import ContextStorage
- from .storage import storage
- from .context import context_storage
Steps to reproduce
Run pytest, and you will be able to see errors like
_________________________________________ ERROR collecting tests/test_undo_redo.py _________________________________________
ImportError while importing test module 'C:\Projects\OSS\tix-cli\tests\test_undo_redo.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Users\inzam\AppData\Local\Programs\Python\Python313\Lib\importlib_init_.py:88: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests\test_undo_redo.py:8: in
import tix.cli as cli
tix\cli.py:11: in
from tix.storage.context_storage import ContextStorage
E ModuleNotFoundError: No module named 'tix.storage.context_storage'
Expected outcome
All tests should pass
Screenshots / Recordings
Acceptance Criteria
100% test should pass