test: mark test cases
This commit is contained in:
@@ -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_quote_html():
|
||||
assertions = {
|
||||
'"quote"': "„quote“",
|
||||
@@ -19,6 +21,7 @@ def test_quote_html():
|
||||
assert mistletoe.markdown(assertion, FiftyOhmHtmlRenderer) == paragraph(assertions[assertion])
|
||||
|
||||
|
||||
@pytest.mark.latex
|
||||
def test_quote_latex():
|
||||
assertions = {
|
||||
'"quote"': "\n\enquote{quote}\n",
|
||||
|
||||
Reference in New Issue
Block a user