diff options
author | Matthias Baumgartner <dev@igsor.net> | 2023-03-01 12:39:42 +0100 |
---|---|---|
committer | Matthias Baumgartner <dev@igsor.net> | 2023-03-01 12:39:42 +0100 |
commit | f9eec185bf3d857c220e5d78de75ec6713437330 (patch) | |
tree | e59a4a0fa57f3602e774891ebe4dba52b7518a7a /test/graph/test_walk.py | |
parent | 9b490d19dcebc0fc24cb2ab89a783f1f7d6147f7 (diff) | |
download | bsfs-f9eec185bf3d857c220e5d78de75ec6713437330.tar.gz bsfs-f9eec185bf3d857c220e5d78de75ec6713437330.tar.bz2 bsfs-f9eec185bf3d857c220e5d78de75ec6713437330.zip |
Construct Graph and Nodes with AC instead of user
Diffstat (limited to 'test/graph/test_walk.py')
-rw-r--r-- | test/graph/test_walk.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/graph/test_walk.py b/test/graph/test_walk.py index f9dbc7a..e5c8981 100644 --- a/test/graph/test_walk.py +++ b/test/graph/test_walk.py @@ -10,6 +10,7 @@ import unittest # bsfs imports from bsfs import schema as bsc from bsfs.graph import Graph +from bsfs.graph.ac import NullAC from bsfs.namespace import Namespace, ns from bsfs.triple_store.sparql import SparqlStore from bsfs.utils import URI @@ -65,7 +66,8 @@ class TestWalk(unittest.TestCase): ''') self.backend = SparqlStore.Open() self.user = URI('http://example.com/me') - self.graph = Graph(self.backend, self.user) + self.ac = NullAC(self.backend, self.user) + self.graph = Graph(self.backend, self.ac) self.graph.migrate(self.schema) # nodes setup |