diff --git a/renderer/fifty_ohm_html_renderer.py b/renderer/fifty_ohm_html_renderer.py index f6b6d10..b53d4e8 100644 --- a/renderer/fifty_ohm_html_renderer.py +++ b/renderer/fifty_ohm_html_renderer.py @@ -155,7 +155,7 @@ class FiftyOhmHtmlRenderer(HtmlRenderer): def render_qso(self, token): self.margin_id += 1 - qso = '' + qso = "" for child in token.children: direction = "other" if child.received else "own" qso += f'
{self.render_inner(child)}
\n' diff --git a/test/test_dash.py b/test/test_dash.py index ea03894..0a571e4 100644 --- a/test/test_dash.py +++ b/test/test_dash.py @@ -9,7 +9,7 @@ from test.util import paragraph @pytest.mark.html def test_dash_html(): assertions = { - "Foo - Bar": "Foo – Ba", + "Foo - Bar": "Foo – Bar", } for assertion in assertions: diff --git a/test/test_html_slides.py b/test/test_html_slides.py index 5d8b9d3..adbba4a 100644 --- a/test/test_html_slides.py +++ b/test/test_html_slides.py @@ -90,7 +90,7 @@ questions = parse_katalog() @pytest.mark.skip("Requires special files") -@pytest.mark.slides +@pytest.mark.slide def test_html_slides(capsys): with capsys.disabled(): with open("test/acceptanceTestSlides.md") as file: diff --git a/test/test_table.py b/test/test_table.py index 08a37dd..deaba13 100644 --- a/test/test_table.py +++ b/test/test_table.py @@ -11,7 +11,7 @@ def test_table_html(): "| l: a |": '\n\n\n\n
a
\n', "| r: a |": '\n\n\n\n
a
\n', "| c: a |": '\n\n\n\n
a
\n', - "| l: a |\n| b |": '\n\n\n\n\n\n\n
a
b
\n', + "| l: a |\n| b |": '\n\n\n\n\n\n\n
a
b
\n', # noqa: E501 "| l: a |\n| b |\n| c |": '\n\n\n\n\n\n\n\n\n\n
a
b
c
\n', # noqa: E501 "| a |\n| b |\n| c |": "\n\n\n\n\n\n\n\n\n\n
a
b
c
\n", # noqa: E501 "| l: a |\n| *b* |": '\n\n\n\n\n\n\n
a
b
\n', # noqa: E501