aboutsummaryrefslogtreecommitdiffstats
path: root/test/extractor/generic/test_constant.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/extractor/generic/test_constant.py')
-rw-r--r--test/extractor/generic/test_constant.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/extractor/generic/test_constant.py b/test/extractor/generic/test_constant.py
index 77ee02b..ea18385 100644
--- a/test/extractor/generic/test_constant.py
+++ b/test/extractor/generic/test_constant.py
@@ -3,7 +3,8 @@
import unittest
# bsie imports
-from bsie.utils import node as _node, ns
+from bsie.matcher import nodes
+from bsie.utils import ns
# objects to test
from bsie.extractor.generic.constant import Constant
@@ -28,7 +29,7 @@ class TestConstant(unittest.TestCase):
(ns.bse.comment, 'the quick brown fox jumps over the lazy dog.'),
]
ext = Constant(schema, tuples)
- node = _node.Node(ns.bsn.Entity, '') # Blank node
+ node = nodes.Entity(ucid='abc123') # Blank node
p_author = ext.schema.predicate(ns.bse.author)
p_comment = ext.schema.predicate(ns.bse.comment)
entity = ext.schema.node(ns.bsfs.Node).child(ns.bsn.Entity)