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