aboutsummaryrefslogtreecommitdiff
path: root/test/test_sparql.py
diff options
context:
space:
mode:
authorPjotr Prins2020-11-11 17:23:30 +0000
committerPjotr Prins2020-11-11 17:24:41 +0000
commit80954e51a20e25e03b7f8b3fcb9e8ca7f675c068 (patch)
tree3ba0688c92a4516bdac63fa11e02925ccae3deef /test/test_sparql.py
parent8039f9f7989bb8000f88738ede20d934dde70c2c (diff)
downloadbh20-seq-resource-80954e51a20e25e03b7f8b3fcb9e8ca7f675c068.tar.gz
bh20-seq-resource-80954e51a20e25e03b7f8b3fcb9e8ca7f675c068.tar.lz
bh20-seq-resource-80954e51a20e25e03b7f8b3fcb9e8ca7f675c068.zip
Fix resolving permalinks such as http://covid19.genenetwork.org/resource/MT326090.1
Diffstat (limited to 'test/test_sparql.py')
-rw-r--r--test/test_sparql.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/test_sparql.py b/test/test_sparql.py
index 41cf717..6f74470 100644
--- a/test/test_sparql.py
+++ b/test/test_sparql.py
@@ -4,12 +4,11 @@ import unittest
import requests
import logging
-
-
class TestSPARQL(unittest.TestCase):
def test_sparql(self):
- sparqlURL='http://sparql.genenetwork.org/sparql/'
+ # sparqlURL='http://sparql.genenetwork.org/sparql/'
+ sparqlURL='http://127.0.0.1:8890//sparql/'
id = "http://collections.lugli.arvadosapi.com/c=0002e93b86ad77824620bf938b97e134+126/sequence.fasta"
id = "MT800005.1"
query=f"""