Example #1
0
 def test_validate_nonstring_url(self):
     with self.assertRaises(errors.InvalidInputError):
         service.validate_url(123)
Example #2
0
 def test_validate_relative_url(self):
     with self.assertRaises(errors.InvalidInputError):
         service.validate_url('sdfsf')
Example #3
0
 def test_validate_malformed_url(self):
     with self.assertRaises(errors.InvalidInputError):
         service.validate_url('svn://sdfsf')
Example #4
0
 def test_validate_nonstring_url(self):
   with self.assertRaises(errors.InvalidInputError):
     service.validate_url(123)
Example #5
0
 def test_validate_relative_url(self):
   with self.assertRaises(errors.InvalidInputError):
     service.validate_url('sdfsf')
Example #6
0
 def test_validate_malformed_url(self):
   with self.assertRaises(errors.InvalidInputError):
     service.validate_url('svn://sdfsf')