コード例 #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
ファイル: test_uri.py プロジェクト: koenedaele/skosprovider
 def test_urn(self):
     assert is_uri('urn:x-skosprovider:typologie')
     assert is_uri('urn:x-skosprovider:typologie:1')
コード例 #5
0
ファイル: test_uri.py プロジェクト: koenedaele/skosprovider
 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
ファイル: test_uri.py プロジェクト: koenedaele/skosprovider
 def test_None(self):
     assert not is_uri(None)