def test_uri_filter(self): from rhodecode.lib.utils2 import uri_filter for url in TEST_URLS: self.assertEqual(uri_filter(url[0]), url[1])
def test_uri_filter(self, test_url, expected, expected_creds): from rhodecode.lib.utils2 import uri_filter self.assertEqual(uri_filter(test_url), expected)
def test_uri_filter(self, test_url, expected, expected_creds): from rhodecode.lib.utils2 import uri_filter self.assertEqual(uri_filter(test_url), expected)
def test_uri_filter(self): from rhodecode.lib.utils2 import uri_filter for url in TEST_URLS: self.assertEqual(uri_filter(url[0]), url[1])