aboutsummaryrefslogtreecommitdiff
path: root/tests/unit
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit')
-rw-r--r--tests/unit/db/rdf/test_wiki.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/unit/db/rdf/test_wiki.py b/tests/unit/db/rdf/test_wiki.py
index 7627dbf..8dd4f3a 100644
--- a/tests/unit/db/rdf/test_wiki.py
+++ b/tests/unit/db/rdf/test_wiki.py
@@ -185,9 +185,9 @@ def test_sanitize_result(result, expected):
@pytest.mark.rdf
-def test_get_wiki_entries_by_symbol(fxtr_app_config, rdf_setup): # pylint: disable=W0613,W0621
+def test_get_wiki_entries_by_symbol(rdf_setup): # pylint: disable=W0613,W0621
"""Test that wiki entries are fetched correctly by symbol"""
- sparql_conf = get_sparql_auth_conf(fxtr_app_config)
+ sparql_conf = get_sparql_auth_conf()
result = get_wiki_entries_by_symbol(
symbol="ckb",
sparql_uri=sparql_conf["sparql_endpoint"],
@@ -260,9 +260,9 @@ and C1QL3 (CTRP13).",
@pytest.mark.rdf
-def test_get_comment_history(fxtr_app_config, rdf_setup): # pylint: disable=W0613,W0621
+def test_get_comment_history(rdf_setup): # pylint: disable=W0613,W0621
"""Test fetching a comment's history from RDF"""
- sparql_conf = get_sparql_auth_conf(fxtr_app_config)
+ sparql_conf = get_sparql_auth_conf()
result = get_comment_history(
comment_id=1158,
sparql_uri=sparql_conf["sparql_endpoint"],
@@ -353,9 +353,9 @@ Possible 3' UTR variants.",
@pytest.mark.rdf
-def test_update_wiki_comment(fxtr_app_config, rdf_setup): # pylint: disable=W0613,W0621
+def test_update_wiki_comment(rdf_setup): # pylint: disable=W0613,W0621
"""Test that a comment is updated correctly"""
- sparql_conf = get_sparql_auth_conf(fxtr_app_config)
+ sparql_conf = get_sparql_auth_conf()
update_wiki_comment(
insert_dict={
"Id": 230,