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

Resolve pytest warnings #127

Merged
merged 2 commits into from
Nov 29, 2024
Merged

Conversation

blast-hardcheese
Copy link
Contributor

Why

Running pytest reports two warnings, it should not.

What changed

  • client depends on NoError, but since by the time pytest is initialized the package has already been imported, pytest raises a warning. Move client (and server, for completeness,) out into a plugin.
  • tool.pytest.ini_options.env isn't recognized without pytest-env

Test plan

CI

@blast-hardcheese blast-hardcheese requested a review from a team as a code owner November 28, 2024 20:13
@blast-hardcheese blast-hardcheese requested review from ryantm and removed request for a team November 28, 2024 20:13
@blast-hardcheese blast-hardcheese changed the title Dstewart/resolve pytest warnings Resolve pytest warnings Nov 28, 2024
Base automatically changed from dstewart/improve-types to main November 29, 2024 07:39
@blast-hardcheese blast-hardcheese merged commit 7ce86bd into main Nov 29, 2024
3 checks passed
@blast-hardcheese blast-hardcheese deleted the dstewart/resolve-pytest-warnings branch November 29, 2024 07:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants