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

Running local tests #18

Open
danodonovan opened this issue Aug 3, 2022 · 0 comments
Open

Running local tests #18

danodonovan opened this issue Aug 3, 2022 · 0 comments

Comments

@danodonovan
Copy link

danodonovan commented Aug 3, 2022

While patching #17 I'm running into issues with the tox testing suite.

In particular, a simple $ tox execution produces errors like

__________________________________________________________________________________ ERROR collecting tests/test_plugin.py ___________________________________________________________________________________
ImportError while importing test module '/Users/dan/Code/tox-ltt/tests/test_plugin.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
../../.pyenv/versions/3.8.11/lib/python3.8/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/test_plugin.py:5: in <module>
    from light_the_torch.computation_backend import CPUBackend
E   ModuleNotFoundError: No module named 'light_the_torch.computation_backend'

.. which I'm not surprised by as I can't see where light_the_torch is being installed or listed as a requirement. Edit: setup.cfg Do we expect the test suite to still run? (I not the CI hasn't run for 10 months). Thanks (and congratulations BTW 👶)

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

1 participant