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

Guard against using unittest ecosystem within pylint #872

Merged
merged 1 commit into from
Feb 4, 2022

Conversation

webknjaz
Copy link
Member

@webknjaz webknjaz commented Feb 4, 2022

This patch implements recommendations to use pytest-native fixtures
instead of importing unittest-world helper untilities directly using
a built-in pylint rule preferred-module.

@webknjaz webknjaz added enhancement New feature or request tests Related to testing and CI bot:chronographer:skip labels Feb 4, 2022
Copy link
Collaborator

@cidrblock cidrblock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving to avoid mixing the 2.

But.......... Some clean up help here would be appreciated, if anyone wants to pick some off.

Also- Let's not push too hard in the future if another comes through until these are remediated and there are repeatable examples in the code base that we can point to.

pyproject.toml Outdated Show resolved Hide resolved
tests/integration/_cli2runner.py Show resolved Hide resolved
@webknjaz webknjaz force-pushed the maintenance/pytest-over-unittest branch from 41fd9fb to d295c85 Compare February 4, 2022 16:08
This patch implements recommendations to use `pytest`-native fixtures
instead of importing `unittest`-world helper untilities directly using
a built-in `pylint` rule `preferred-module`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request tests Related to testing and CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants