

def test_create_url_saltenv(self):
    "\n        Test creating a 'salt://' URL with a saltenv\n        "
    saltenv = 'raumklang'
    path = '? interesting/&path.filetype'
    url = ((('salt://' + path) + '?saltenv=') + saltenv)
    self.assertEqual(salt.utils.url.create(path, saltenv), url)

dataset/ETHPy150Open saltstack/salt/tests/unit/utils/url_test.py UrlTestCase.test_create_url_saltenv/original