Searched refs:is_url (Results 1 – 3 of 3) sorted by relevance
357 self.assertTrue(utils.is_url("http://example.com"))361 self.assertTrue(utils.is_url("ftp://ftp.example.com"))365 self.assertFalse(utils.is_url("/home/username/file"))369 self.assertFalse(utils.is_url("filename"))373 self.assertFalse(utils.is_url("somedir/somesubdir/file"))377 self.assertFalse(utils.is_url("somedir/http://path/file"))
912 def is_url(self, url): member in BasePackageManager930 if not self.is_url(url):
551 def is_url(path): function621 if is_url(src):642 if is_url(src):