Exemplo n.º 1
0
    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])
Exemplo n.º 2
0
 def test_uri_filter(self, test_url, expected, expected_creds):
     from rhodecode.lib.utils2 import uri_filter
     self.assertEqual(uri_filter(test_url), expected)
Exemplo n.º 3
0
 def test_uri_filter(self, test_url, expected, expected_creds):
     from rhodecode.lib.utils2 import uri_filter
     self.assertEqual(uri_filter(test_url), expected)
Exemplo n.º 4
0
    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])