def test_invalid_schemes(self):
     for scheme in ['ftp', 'git+ssh']:
         url = '{}://example.com/idm'.format(scheme)
         self.assertFalse(configauth.is_valid_auth_url(url))
 def test_valid_schemes(self):
     for scheme in ['http', 'https']:
         url = '{}://example.com/idm'.format(scheme)
         self.assertTrue(configauth.is_valid_auth_url(url))