test: mark test cases

This commit is contained in:
Tim Grelka
2024-12-11 01:16:29 +01:00
parent 8e56c758c2
commit 1027598251
9 changed files with 35 additions and 0 deletions
+3
View File
@@ -1,10 +1,12 @@
import mistletoe
import pytest
from renderer.fifty_ohm_html_renderer import FiftyOhmHtmlRenderer
from renderer.fifty_ohm_latex_renderer import FiftyOhmLaTeXRenderer
from test.util import paragraph
@pytest.mark.html
def test_dash_html():
assertions = {
"Foo - Bar": "Foo – Bar",
@@ -14,6 +16,7 @@ def test_dash_html():
assert mistletoe.markdown(assertion, FiftyOhmHtmlRenderer) == paragraph(assertions[assertion])
@pytest.mark.latex
def test_dash_latex():
assertions = {
"Foo - Bar": "\nFoo -- Bar\n",