def test_escape_unescaped_url(self):
        path = 'dir/file.conf'
        url = 'salt://' + path
        escaped_url = 'salt://|' + path

        self.assertEqual(salt.utils.url.escape(url), escaped_url)
A docstring.
dataset/ETHPy150Open saltstack/salt/tests/unit/utils/url_test.py/UrlTestCase.test_escape_unescaped_url--crossover with--dataset/ETHPy150Open ipython/ipython-py3k/IPython/core/tests/test_magic_arguments.py/magic_foo5