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

Rework reparenting #739

Draft
wants to merge 18 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 8 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
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@ _trial_temp/
apidocs/
*.egg-info
.eggs
__pycache__
.hypothesis
7 changes: 4 additions & 3 deletions docs/tests/test_twisted_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ def test_IPAddress_implementations() -> None:
assert all(impl in page for impl in show_up), page

# Test for https://github.com/twisted/pydoctor/issues/505
def test_web_template_api() -> None:
def test_some_apis() -> None:
"""
This test ensures all important members of the twisted.web.template
module are documented at the right place
module are documented at the right place, and other APIs exist as well.
"""

exists = ['twisted.web.template.Tag.html',
Expand All @@ -39,7 +39,8 @@ def test_web_template_api() -> None:
'twisted.web.template.TagLoader.html',
'twisted.web.template.XMLString.html',
'twisted.web.template.XMLFile.html',
'twisted.web.template.Element.html',]
'twisted.web.template.Element.html',
'twisted.internet.ssl.DistinguishedName.html']
for e in exists:
assert (BASE_DIR / e).exists(), f"{e} not found"

Expand Down
Loading
Loading