Пример #1
0
 def test_urn(self):
     assert is_uri('urn:x-skosprovider:typologie')
     assert is_uri('urn:x-skosprovider:typologie:1')
Пример #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')
Пример #3
0
 def test_None(self):
     assert not is_uri(None)
Пример #4
0
 def test_urn(self):
     assert is_uri('urn:x-skosprovider:typologie')
     assert is_uri('urn:x-skosprovider:typologie:1')
Пример #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')
Пример #6
0
 def test_None(self):
     assert not is_uri(None)