def test_is_escaped_escaped_url(self):
        url = 'salt://|dir/file.conf?saltenv=basic'

        self.assertTrue(salt.utils.url.is_escaped(url))
Test testing an escaped 'salt://' URL
dataset/ETHPy150Open saltstack/salt/tests/unit/utils/url_test.py/UrlTestCase.test_is_escaped_escaped_url