diff options
author | Matthias Baumgartner <dev@igsor.net> | 2022-12-18 13:37:59 +0100 |
---|---|---|
committer | Matthias Baumgartner <dev@igsor.net> | 2022-12-18 13:37:59 +0100 |
commit | 057e09d6537bf5c39815661a75819081e3e5fda7 (patch) | |
tree | 0a59bbfe1c44d3497daad9f25ff9e7eb2bf9eb82 /test/lib/test_bsie.py | |
parent | 5850ff2bcb1052883cf301590126609b0657fbc9 (diff) | |
download | bsie-057e09d6537bf5c39815661a75819081e3e5fda7.tar.gz bsie-057e09d6537bf5c39815661a75819081e3e5fda7.tar.bz2 bsie-057e09d6537bf5c39815661a75819081e3e5fda7.zip |
adaptions to updates in bsfs
Diffstat (limited to 'test/lib/test_bsie.py')
-rw-r--r-- | test/lib/test_bsie.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/lib/test_bsie.py b/test/lib/test_bsie.py index f3f476e..771a0c2 100644 --- a/test/lib/test_bsie.py +++ b/test/lib/test_bsie.py @@ -38,7 +38,7 @@ class TestBSIE(unittest.TestCase): )}, ]) # build pipeline - self.prefix = bsfs.Namespace('http://example.com/local/file#') + self.prefix = bsfs.Namespace('http://example.com/local/') pbuild = builder.PipelineBuilder(self.prefix, rbuild, ebuild) self.pipeline = pbuild.build() @@ -155,7 +155,7 @@ class TestBSIE(unittest.TestCase): ns.bse.author, }) content_hash = 'a948904f2f0f479b8f8197694b30184b0d2ed1c1cd2a1ec0fb85d299a192a447' - subject = node.Node(ns.bsfs.File, self.prefix + 'file#' + content_hash) + subject = node.Node(ns.bsfs.File, (self.prefix + 'file#')[content_hash]) testfile = os.path.join(os.path.dirname(__file__), 'testfile.t') # from_file extracts all available triples |