Ejemplo n.º 1
0
 def test_is_relative(self):
     validator = Validator(None)
     expect(validator.is_absolute("/index.html")).to_be_false()
Ejemplo n.º 2
0
 def test_is_relative(self):
     validator = Validator(None)
     expect(validator.is_absolute('/index.html')).to_be_false()
Ejemplo n.º 3
0
 def test_is_absolute(self):
     validator = Validator(None)
     expect(validator.is_absolute("http://globoi.com/index.html")).to_be_true()
Ejemplo n.º 4
0
 def test_is_absolute(self):
     validator = Validator(None)
     expect(validator.is_absolute('http://globoi.com/index.html')).to_be_true()