

def test_strip_url_with_scheme(self):
    '\n        Test stripping of URL scheme\n        '
    scheme = 'git+salt+rsync+AYB://'
    resource = 'all/the/things.stuff;parameter?query=I guess'
    url = (scheme + resource)
    self.assertEqual(salt.utils.url.strip_proto(url), resource)

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