projects
/
htsworkflow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
make sure @vocab url has a trailing #. Its needed to construct better triple predicat...
[htsworkflow.git]
/
htsworkflow
/
submission
/
test
/
test_encoded.py
diff --git
a/htsworkflow/submission/test/test_encoded.py
b/htsworkflow/submission/test/test_encoded.py
index 21eed840e351a64fdbe47fcd6d48e192d07aafb3..5483f6f325dbcc03452279d202940141d8892f23 100644
(file)
--- a/
htsworkflow/submission/test/test_encoded.py
+++ b/
htsworkflow/submission/test/test_encoded.py
@@
-66,6
+66,7
@@
class TestEncoded(TestCase):
encode = ENCODED('test.encodedcc.org')
url = encode.prepare_url(library['@id'])
context = encode.create_jsonld_context(library, url)
encode = ENCODED('test.encodedcc.org')
url = encode.prepare_url(library['@id'])
context = encode.create_jsonld_context(library, url)
+ self.assertEqual(context['@vocab'], 'http://test.encodedcc.org/profiles/library.json#')
self.assertEqual(context['award'], linked_id )
self._verify_context(context, 'library')
# namespaces not added yet.
self.assertEqual(context['award'], linked_id )
self._verify_context(context, 'library')
# namespaces not added yet.