diff options
author | aa-turner <aa-turner@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2022-11-10 16:54:38 +0000 |
---|---|---|
committer | aa-turner <aa-turner@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2022-11-10 16:54:38 +0000 |
commit | df2f25dc459705bc1781a34fa4b51a8a561e6fcd (patch) | |
tree | 9ec8a263e52383aaead6fe60dbbb3b13e893c463 /docutils/test/test_transforms | |
parent | 7688249672e39bac02e0c9b23101f78bf7de96ce (diff) | |
download | docutils-df2f25dc459705bc1781a34fa4b51a8a561e6fcd.tar.gz |
Add support for ``pytest``
This is the minimal configuration required for the test suite to
pass using the pytest framework. This is part of the test suite
refactoring project.
- Ignore two classes that start with the word "Test"
- Provide the standard test header to pytest
- Update the documentation
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9237 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils/test/test_transforms')
-rwxr-xr-x | docutils/test/test_transforms/test___init__.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docutils/test/test_transforms/test___init__.py b/docutils/test/test_transforms/test___init__.py index a3b47eb50..61978e6dc 100755 --- a/docutils/test/test_transforms/test___init__.py +++ b/docutils/test/test_transforms/test___init__.py @@ -15,6 +15,9 @@ from docutils import transforms, utils class TestTransform(transforms.Transform): + # marker for pytest to ignore this class during test discovery + __test__ = False + default_priority = 100 applied = 0 |