From ff999bf3b6353d0201c7b4eeac0db6a6e7625ba1 Mon Sep 17 00:00:00 2001 From: Josef Friedrich Date: Sun, 4 Feb 2024 16:55:59 +0100 Subject: [PATCH] Unskip all tests --- .vscode/settings.json | 2 +- tests/test_how_to.py | 9 --------- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index ac09379..714a915 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -21,6 +21,6 @@ "--rootdir", "${workspaceFolder}/tests", "-m", - "not slow" + "not (slow or gui)" ] } diff --git a/tests/test_how_to.py b/tests/test_how_to.py index 3172743..29f9571 100644 --- a/tests/test_how_to.py +++ b/tests/test_how_to.py @@ -233,9 +233,6 @@ def test_set_musical_text_font(self) -> None: assert c.post.style.get("musicalTextFont") == "MScore Text" -@pytest.mark.skip( - "Strange error! Fails in tox make test ... but works in vscode and with pytest -k test_set_meta_tag_title" -) def test_set_all_font_faces_using_for_loop(score: Score) -> None: assert score.style.get("defaultFontFace") == "FreeSerif" @@ -248,9 +245,6 @@ def test_set_all_font_faces_using_for_loop(score: Score) -> None: assert new_score.style.get("defaultFontFace") == "Alegreya" -@pytest.mark.skip( - "Strange error! Fails in tox make test ... but works in vscode and with pytest -k test_set_meta_tag_title" -) def test_set_all_font_faces_using_method(score: Score) -> None: assert score.style.get("defaultFontFace") == "FreeSerif" @@ -381,9 +375,6 @@ def print_elements(element: _Element, level: int) -> None: print_elements(score.xml_root, 0) -@pytest.mark.skip( - "Strange error! Fails in tox make test ... but works in vscode and with pytest -k test_set_meta_tag_title" -) def test_set_meta_tag_composer(score: Score) -> None: assert score.meta.metatag.composer == "Composer"