-
Notifications
You must be signed in to change notification settings - Fork 345
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Convert Django test tags to Pytest markers
Django TestCase supports tags: https://docs.djangoproject.com/en/4.2/topics/testing/tools/#topics-tagging-tests These are basically similar to (basic) Pytest tags, so let's interpret them to allow using the native pytest-native markers functionality. This helps projects which are unable to convert tags to markers. This may cause breakage for projects using `strict-markers`. Such projects would need to add the tags to their `markers` config, or deal with it some other way. Fix #818.
- Loading branch information
Showing
3 changed files
with
79 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters