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

test: rename test_cautodoc.py -> test_extension.py #257

Merged
merged 1 commit into from
Sep 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions test/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ There are three test files, with different levels and approaches, run by
Test the parser and the command-line interface. The documentation comments are
extracted through the command-line interface.

* ``test_directive_text()`` and ``test_directive_html()`` in
``test_cautodoc.py``
* ``test_extension_text()`` and ``test_extension_html()`` in
``test_extension.py``

Test the parser and the Sphinx extension, using two builders: text and
html. The documentation comments are extracted through the Sphinx build
Expand Down
4 changes: 2 additions & 2 deletions test/test_cautodoc.py → test/test_extension.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,12 @@ def _get_extension_testcases(path, buildername):
# Test using Sphinx plain text builder
@pytest.mark.parametrize('testcase', _get_extension_testcases(testenv.testdir, 'text'),
ids=testenv.get_testid)
def test_directive_text(testcase):
def test_extension_text(testcase):
testcase.run_test()

# Test using Sphinx html builder
@pytest.mark.full
@pytest.mark.parametrize('testcase', _get_extension_testcases(testenv.testdir, 'html'),
ids=testenv.get_testid)
def test_directive_html(testcase):
def test_extension_html(testcase):
testcase.run_test()
Loading