Skip to content

Fix failing test_keys unit test#125

Closed
mlesniewski-reef wants to merge 2 commits into
masterfrom
fix_unit_tests
Closed

Fix failing test_keys unit test#125
mlesniewski-reef wants to merge 2 commits into
masterfrom
fix_unit_tests

Conversation

@mlesniewski-reef

Copy link
Copy Markdown

This is a fix for the test_keys unit tests, which started failing after commit 043b919 (Fix B2Api.get_key() returning wrong key if key_id is incorrect) was added to b2sdk.

This is a fix for the `test_keys` unit tests, which started failing
after commit 043b919 (Fix B2Api.get_key() returning wrong key if
`key_id` is incorrect) was added to b2sdk.
It appears the intention in noxfile.py was to always run unit tests in
the CI with the latest SDK version, downloaded straight from git.

This didn't work, because right after installing the SDK from git, the
installation got overwritten with the `pip install -e .` command.

This also introduces changes which ensure that `liccheck` is run with
the SDK version that has been installed.
@mlesniewski-reef mlesniewski-reef marked this pull request as ready for review September 12, 2022 21:12
@ppolewicz ppolewicz deleted the fix_unit_tests branch September 16, 2022 02:45
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

Successfully merging this pull request may close these issues.

2 participants