def test_valid_url_with_ip(self):
     url = "http://87.230.87.89/projects"
     self.assertTrue(constraints.is_valid_url(url))
 def test_invalid_no_scheme(self):
     url = "www.ixds.com/projects"
     self.assertFalse(constraints.is_valid_url(url))
 def test_valid_url_with_domain(self):
     url = "http://www.ixds.com/projects"
     self.assertTrue(constraints.is_valid_url(url))