From f6d9b0cfb842b53e8777e9918549f1ed1ee5892e Mon Sep 17 00:00:00 2001 From: Munyoki Kilyungi Date: Mon, 23 Sep 2024 16:12:25 +0300 Subject: Add pytest.mark.unit_test for all rdf test-cases. This makes sure that all the test correctly run in CD. Signed-off-by: Munyoki Kilyungi --- tests/unit/db/rdf/test_wiki.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/unit/db/rdf/test_wiki.py b/tests/unit/db/rdf/test_wiki.py index 5f36034..51ea933 100644 --- a/tests/unit/db/rdf/test_wiki.py +++ b/tests/unit/db/rdf/test_wiki.py @@ -187,6 +187,7 @@ def test_sanitize_result(result, expected): @pytest.mark.rdf +@pytest.mark.unit_test def test_get_wiki_entries_by_symbol(rdf_setup): # pylint: disable=W0613,W0621 """Test that wiki entries are fetched correctly by symbol""" result = get_wiki_entries_by_symbol( @@ -261,6 +262,7 @@ and C1QL3 (CTRP13).", @pytest.mark.rdf +@pytest.mark.unit_test def test_get_comment_history(rdf_setup): # pylint: disable=W0613,W0621 """Test fetching a comment's history from RDF""" result = get_comment_history( @@ -353,6 +355,7 @@ Possible 3' UTR variants.", @pytest.mark.rdf +@pytest.mark.unit_test def test_update_wiki_comment(rdf_setup): # pylint: disable=W0613,W0621 """Test that a comment is updated correctly""" update_wiki_comment( -- cgit v1.2.3