aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/graph/test_resolve.py2
-rw-r--r--test/query/test_validator.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/test/graph/test_resolve.py b/test/graph/test_resolve.py
index 0223c49..accb565 100644
--- a/test/graph/test_resolve.py
+++ b/test/graph/test_resolve.py
@@ -25,7 +25,7 @@ class TestFilter(unittest.TestCase):
"""
- def test_call(self):
+ def test_call(self): # tests resolve implicitly
schema = bsc.from_string('''
prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>
prefix xsd: <http://www.w3.org/2001/XMLSchema#>
diff --git a/test/query/test_validator.py b/test/query/test_validator.py
index ca93118..bbfd2e6 100644
--- a/test/query/test_validator.py
+++ b/test/query/test_validator.py
@@ -70,7 +70,7 @@ class TestFilter(unittest.TestCase):
''')
self.validate = Filter(self.schema)
- def test_call(self):
+ def test_call(self): # tests validate implicitly
# root_type must be a _schema.Node
self.assertRaises(TypeError, self.validate, 1234, None)
self.assertRaises(TypeError, self.validate, '1234', None)
@@ -309,7 +309,7 @@ class TestFetch(unittest.TestCase):
''')
self.validate = Fetch(self.schema)
- def test_call(self):
+ def test_call(self): # tests validate implicitly
# call accepts correct expressions
self.assertTrue(self.validate(self.schema.node(ns.bsfs.Entity),
ast.fetch.Fetch(ns.bse.tag, ast.fetch.Value(ns.bse.label, 'value'))))