• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

CenterForOpenScience / SHARE / 18947333248

30 Oct 2025 04:10PM UTC coverage: 84.4% (+2.6%) from 81.773%
18947333248

push

github

web-flow
Merge pull request #888 from CenterForOpenScience/release/25.6.0

release 25.6.0

581 of 686 new or added lines in 47 files covered. (84.69%)

1 existing line in 1 file now uncovered.

6595 of 7814 relevant lines covered (84.4%)

0.84 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

61.11
/trove/render/rendering/html_wrapped.py
1
import dataclasses
1✔
2
import html
1✔
3
from typing import Iterator
1✔
4

5
from trove.vocab import mediatypes
1✔
6
from trove.util.html import HTML_DOCTYPE
1✔
7
from .proto import ProtoRendering
1✔
8

9

10
@dataclasses.dataclass
1✔
11
class HtmlWrappedRendering(ProtoRendering):
1✔
12
    inner_rendering: ProtoRendering
1✔
13
    mediatype: str = mediatypes.HTML
1✔
14

15
    def iter_content(self) -> Iterator[str]:
1✔
NEW
16
        yield HTML_DOCTYPE
×
NEW
17
        yield '<pre>'
×
NEW
18
        for _content in self.inner_rendering.iter_content():
×
NEW
19
            if not isinstance(_content, str):
×
NEW
20
                _content = _content.decode()
×
NEW
21
            yield html.escape(_content)
×
NEW
22
        yield '</pre>'
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc