Example #1
0
 def test_urn(self):
     assert is_uri('urn:x-skosprovider:typologie')
     assert is_uri('urn:x-skosprovider:typologie:1')
Example #2
0
 def test_url(self):
     assert is_uri('https://id.erfgoed.net/thesauri/erfgoedtypes/1')
     assert is_uri(
         'https://thesaurus.erfgoed.net/conceptschemes/erfgoedtypes/1')
Example #3
0
 def test_None(self):
     assert not is_uri(None)
Example #4
0
 def test_urn(self):
     assert is_uri('urn:x-skosprovider:typologie')
     assert is_uri('urn:x-skosprovider:typologie:1')
Example #5
0
 def test_url(self):
     assert is_uri('https://id.erfgoed.net/thesauri/erfgoedtypes/1')
     assert is_uri('https://thesaurus.erfgoed.net/conceptschemes/erfgoedtypes/1')
Example #6
0
 def test_None(self):
     assert not is_uri(None)