make sure @vocab url has a trailing #. Its needed to construct better triple predicat...
[htsworkflow.git] / htsworkflow / submission / test / test_encoded.py
index 21eed840e351a64fdbe47fcd6d48e192d07aafb3..5483f6f325dbcc03452279d202940141d8892f23 100644 (file)
@@ -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)
+        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.