def test_url_accepts_unix_scheme_with_path(self): good_url = "unix://somepath" self.assertEqual(good_url, datatypes.url(good_url))
def test_url_accepts_urlparse_recognized_scheme_with_netloc(self): good_url = 'http://localhost:9001' self.assertEqual(datatypes.url(good_url), good_url)
def _callFUT(self, arg): return datatypes.url(arg)
def test_url_accepts_urlparse_recognized_scheme_with_netloc(self): good_url = "http://localhost:9001" self.assertEqual(datatypes.url(good_url), good_url)