aboutsummaryrefslogtreecommitdiff
path: root/test/test_shex.py
diff options
context:
space:
mode:
authorPjotr Prins2020-11-07 10:21:48 +0000
committerPjotr Prins2020-11-07 10:21:48 +0000
commit8a02280c4bd05a7f8df598a75a1ea2d3caaddd7d (patch)
treef145ff22304589c4c7161da3cad01d90aeeba749 /test/test_shex.py
parent9709eca5c76aabe823ba34d976c5d11a9d150b76 (diff)
downloadbh20-seq-resource-8a02280c4bd05a7f8df598a75a1ea2d3caaddd7d.tar.gz
bh20-seq-resource-8a02280c4bd05a7f8df598a75a1ea2d3caaddd7d.tar.lz
bh20-seq-resource-8a02280c4bd05a7f8df598a75a1ea2d3caaddd7d.zip
Tests: add runner and frame for SPARQL
Diffstat (limited to 'test/test_shex.py')
-rw-r--r--test/test_shex.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/test/test_shex.py b/test/test_shex.py
index e5d97cc..728bfdc 100644
--- a/test/test_shex.py
+++ b/test/test_shex.py
@@ -1,14 +1,12 @@
+# Run with python3 test/test_shex.py
+
import schema_salad.schema
import schema_salad.ref_resolver
import schema_salad.jsonld_context
-# import pkg_resources
-import logging
-# import traceback
-# from rdflib import Graph, Namespace
from pyshex.evaluate import evaluate
import unittest
-class TestStringMethods(unittest.TestCase):
+class TestShexMethods(unittest.TestCase):
def test_schema(self):
with open("bh20sequploader/bh20seq-schema.yml") as schema_resource: