

def test_validate_invalid(self):
    '\n        Test URL invalid validation\n        '
    url = 'cumin://config/file.name?saltenv=vapid'
    protos = ['salt', 'pepper', 'cinnamon', 'melange']
    self.assertFalse(salt.utils.url.validate(url, protos))

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