Skip to content

More pytest rules - #753

Draft
jelly wants to merge 9 commits into
archlinux:masterfrom
jelly:more-pytest-rules
Draft

jelly wants to merge 9 commits into
archlinux:masterfrom
jelly:more-pytest-rules

Conversation

@jelly

@jelly jelly commented Sep 20, 2026

Copy link
Copy Markdown
Member

No description provided.

Re-using mirrorurls causes typing issues as it changes the QuerySet to a
list.
All tests have been converted to pytest so this can be enabled.
Instead of passing an unused db fixture, mark tests which require a
database explicitly. This also has the benefit to run only the db tests
with `pytest -m django_db`.
Instead of passing an unused db fixture, mark tests which require a
database explicitly. This also has the benefit to run only the db tests
with `pytest -m django_db`.
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.

1 participant