aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorPjotr Prins2020-11-07 09:04:03 +0000
committerPjotr Prins2020-11-07 09:04:03 +0000
commit0a2d9ef27d6c1b768873252287c6d967cf912025 (patch)
tree529046422b1f1b5b35483c4b5beb115bc42c888c /test
parent8aae577137f7614dc0889d0527cc25d6d078b68e (diff)
downloadbh20-seq-resource-0a2d9ef27d6c1b768873252287c6d967cf912025.tar.gz
bh20-seq-resource-0a2d9ef27d6c1b768873252287c6d967cf912025.tar.lz
bh20-seq-resource-0a2d9ef27d6c1b768873252287c6d967cf912025.zip
Fixed the License error (https!!)
Diffstat (limited to 'test')
-rw-r--r--test/test_shex.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test_shex.py b/test/test_shex.py
index e094184..50ce723 100644
--- a/test/test_shex.py
+++ b/test/test_shex.py
@@ -24,6 +24,7 @@ class TestStringMethods(unittest.TestCase):
print(doc)
g = schema_salad.jsonld_context.makerdf("workflow", doc, document_loader.ctx)
shex = pkg_resources.resource_stream(__name__, "../bh20sequploader/bh20seq-shex.rdf").read().decode("utf-8")
+ # Note the https link simply acts as a URI descriptor (it does not fetch)
rslt, reason = evaluate(g, shex, doc["id"], "https://raw.githubusercontent.com/arvados/bh20-seq-resource/master/bh20sequploader/bh20seq-shex.rdf#submissionShape")
g.serialize(format="ntriples")