aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMunyoki Kilyungi2024-09-23 16:12:25 +0300
committerBonfaceKilz2024-09-23 16:18:37 +0300
commitf6d9b0cfb842b53e8777e9918549f1ed1ee5892e (patch)
treeaab8fa0fdb9693e16d21ba932f2230e4c737f77f
parentf3114d482b25f532d6ffd9aab3e95d00cf996cc9 (diff)
downloadgenenetwork3-f6d9b0cfb842b53e8777e9918549f1ed1ee5892e.tar.gz
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 <me@bonfacemunyoki.com>
-rw-r--r--tests/unit/db/rdf/test_wiki.py3
1 files changed, 3 insertions, 0 deletions
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(