Esempio n. 1
0
 def test_urn(self):
     assert is_uri('urn:x-skosprovider:typologie')
     assert is_uri('urn:x-skosprovider:typologie:1')
Esempio n. 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')
Esempio n. 3
0
 def test_None(self):
     assert not is_uri(None)
Esempio n. 4
0
 def test_urn(self):
     assert is_uri('urn:x-skosprovider:typologie')
     assert is_uri('urn:x-skosprovider:typologie:1')
Esempio n. 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')
Esempio n. 6
0
 def test_None(self):
     assert not is_uri(None)