-
-
Notifications
You must be signed in to change notification settings - Fork 10
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
docs: Development Setup should include yubikey dependency #501
Comments
Handle the import similarly to how we handle it in other modules. That should do the trick |
So what we need to do here is update taf\taf\tests\test_repository_tool\test_repository_tool.py. If you install yubikey-manager dependency, (install taf by running pip install -e .[yubikey] from the root of the repository), you should be able to run this test using pytest. Then, uninstall yubikey-manager: pip uninstall yubikey-manager. You see this error: ImportError while loading conftest 'D:\oll\taf\taf\tests\test_repository_tool\conftest.py'. @fixture |
I'd expect that running the installation instructions from "Development Setup" would allow to run
pytest
. This is not the case:Installing with
yubikey
extra does the trick:pip install -e .[dev,test,yubikey]
(although the yubikey dependency should probably be part of the test extras, if tests need it)The text was updated successfully, but these errors were encountered: