aboutsummaryrefslogtreecommitdiffstats
path: root/test/lib/test_pipeline.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/lib/test_pipeline.py')
-rw-r--r--test/lib/test_pipeline.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/lib/test_pipeline.py b/test/lib/test_pipeline.py
index 8d836fd..05c6768 100644
--- a/test/lib/test_pipeline.py
+++ b/test/lib/test_pipeline.py
@@ -5,7 +5,8 @@ import os
import unittest
# bsie imports
-from bsie.utils import bsfs, errors, node, ns
+from bsie.matcher import nodes
+from bsie.utils import bsfs, errors, ns
import bsie.extractor.generic.constant
import bsie.extractor.generic.path
import bsie.extractor.generic.stat
@@ -84,7 +85,7 @@ class TestPipeline(unittest.TestCase):
pipeline = Pipeline(self.ext2rdr)
# build objects for tests
content_hash = 'a948904f2f0f479b8f8197694b30184b0d2ed1c1cd2a1ec0fb85d299a192a447'
- subject = node.Node(ns.bsn.Entity, ucid=content_hash)
+ subject = nodes.Entity(ucid=content_hash)
testfile = os.path.join(os.path.dirname(__file__), 'testfile.t')
p_filename = pipeline.schema.predicate(ns.bse.filename)
p_dirname = pipeline.schema.predicate(ns.bse.dirname)