def test_marmotta_server(self):
slug = ''.join(random.choice(string.ascii_letters) for _ in range(random.randint(3, 10)))
self.assertIsInstance(self.marmotta.server, Namespace)
self.assertIsInstance(self.marmotta.server[slug], URIRef)
self.assertEqual(str(self.marmotta.server[slug]), self.host+"/"+slug)
评论列表
文章目录