-
Notifications
You must be signed in to change notification settings - Fork 131
Use test helpers and fixtures from b2sdk #1110
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
Use test helpers and fixtures from b2sdk #1110
Conversation
| ROOT_PATH = pathlib.Path(__file__).parent.parent.parent | ||
|
|
||
|
|
||
| pytest_plugins = ['b2sdk.v3.testing'] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❤️
* origin/master: Redesign seed generation in CI Avoid failing on missing extra dependencies in license command Publish Linux ARM binaries Test Linux ARM binaries Add changelog.d entry Add ubuntu-24.04-arm to the CI Redesign url parsing to handle values with leading / and trailing special chars release 4.4.1 Pin docutils version release 4.4.0
|
✅ LGTM |
mlech-reef
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- You haven't updated .github/workflows/ci.yml. Please keep a special attention to contains(fromJSON('["3.8", "pypy3.10", "3.13"]'). It supposed to run all the integration tests that require secrets in the lowest and highest supported version available (for cpython).
- In
CONTRIBUTING.mdtest-3.8is mentioned. Please update.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove all instances of python_version >= '3.9' specifier from this file. They are redundant now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove python_version >= '3.8' as well
test/integration/conftest.py
Outdated
| @pytest.fixture(scope='session') | ||
| def b2_api( | ||
| def bucket_name_prefix(): | ||
| return bucket_name_part(8) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why removing clitst from the prefix?
- Add clitst prefix to bucket names in tests
74410ad to
7557405
Compare
WIP, because PR in b2sdk must be pulled first (Backblaze/b2-sdk-python#545) and library version bumped. Otherwise ready for a review.