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
While writing up #25 I wanted to get the project up and running locally. I managed to run the tests under tests/unittests but was unable to run any of the tests at the top-level under tests/. An example of what I tried and the error message I got:
> cd tests && python -m unittest test_yotpo_sync_canary.py
E
======================================================================
ERROR: test_yotpo_sync_canary (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: test_yotpo_sync_canary
Traceback (most recent call last):
File "/home/daniel/.pyenv/versions/3.9.9/lib/python3.9/unittest/loader.py", line 154, in loadTestsFromName
module = __import__(module_name)
File "/home/daniel/Code/tap-yotpo/tests/test_yotpo_sync_canary.py", line 1, in <module>
from tap_tester import connections
ModuleNotFoundError: No module named 'tap_tester'
----------------------------------------------------------------------
Ran 1 test in 0.000s
FAILED (errors=1)
As far as I can tell the test suite depends on a module called tap_tester
This module isn't declared as a dependency in setup.py - nor is it vendored in this project. Is there somewhere I can find it? Am I trying to run tests on this project wrong?
The text was updated successfully, but these errors were encountered:
While writing up #25 I wanted to get the project up and running locally. I managed to run the tests under
tests/unittests
but was unable to run any of the tests at the top-level undertests/
. An example of what I tried and the error message I got:As far as I can tell the test suite depends on a module called
tap_tester
tap-yotpo/tests/base.py
Line 8 in 99a4bdf
This module isn't declared as a dependency in
setup.py
- nor is it vendored in this project. Is there somewhere I can find it? Am I trying to run tests on this project wrong?The text was updated successfully, but these errors were encountered: