diff --git a/tests/modules/test_preparser.py b/tests/modules/test_preparser.py index 788c620..e25ef6c 100644 --- a/tests/modules/test_preparser.py +++ b/tests/modules/test_preparser.py @@ -355,7 +355,7 @@ def test_rich_tree(): pp.rich_tree(force=False) -# @pytest.mark.xfail(reason="Not implemented") +@pytest.mark.xfail(reason="Not implemented") def test_get_shortcut_from_config(): from_config = temp_name("get_from_config.bpr") make_new_file(from_config, get_from_config) diff --git a/tests/modules/test_syntax.py b/tests/modules/test_syntax.py index 31500e7..1b91557 100644 --- a/tests/modules/test_syntax.py +++ b/tests/modules/test_syntax.py @@ -605,8 +605,10 @@ list_add_tag_input_and_expected_output = [ (sy.EtStrongToken(["**"]), ""), (sy.EtUnderlineToken(["__"]), ""), (sy.EtStrikethroughToken(["~~"]), ""), - (sy.StructuralElementStartToken(["div"]), ""), - (sy.StructuralElementEndToken(["div"]), ""), + (sy.StructuralElementStartToken(["div"]), ""), + (sy.StructuralElementEndToken(["div"]), ""), + (sy.StructuralElementStartToken(["span"]), ""), + (sy.StructuralElementEndToken(["span"]), ""), (sy.EtCustomSpanToken(["(#12)"]), ""), (sy.HeaderToken(["#", "Text"]), "
"), ] @@ -631,8 +633,14 @@ list_of_text_input_and_readable_output = [ "Reverse order: Span, underline strikethrough emphasis Strong "), # noqa E501 (line too long) # Structural elements - ("<"), - ("div>>", "se", ""), + ("<"), + ("div>>", "se", ""), + ("<"), + ("article>>", "se", ""), + ("<"), + ("aside>>", "se", ""), + ("<"), + ("section>>", "se", ""), # Lists ("- Text", "one_ulist", ""),