Home
last modified time | relevance | path

Searched refs:is_url (Results 1 – 3 of 3) sorted by relevance

/external/autotest/client/common_lib/
Dutils_unittest.py357 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"))
Dpackages.py912 def is_url(self, url): member in BasePackageManager
930 if not self.is_url(url):
Dutils.py551 def is_url(path): function
621 if is_url(src):
642 if is_url(src):