Searched refs:is_url (Results 1 – 4 of 4) sorted by relevance
347 self.assertTrue(base_utils.is_url("http://example.com"))351 self.assertTrue(base_utils.is_url("ftp://ftp.example.com"))355 self.assertFalse(base_utils.is_url("/home/username/file"))359 self.assertFalse(base_utils.is_url("filename"))363 self.assertFalse(base_utils.is_url("somedir/somesubdir/file"))367 self.assertFalse(base_utils.is_url("somedir/http://path/file"))
865 def is_url(self, url): member in BasePackageManager883 if not self.is_url(url):
701 def is_url(path): function770 if is_url(src):791 if is_url(src):
254 if not config_orig or not utils.is_url(config_orig):