

def test_escape_unescaped_url(self):
    "\n        Test testing an unescaped 'salt://' URL\n        "
    path = 'dir/file.conf'
    url = ('salt://' + path)
    escaped_url = ('salt://|' + path)
    self.assertEqual(salt.utils.url.escape(url), path)

dataset/ETHPy150Open saltstack/salt/tests/unit/utils/url_test.py UrlTestCase.test_escape_unescaped_url/VarMisuse@47/89 `escaped_url`->`path`