Beispiel #1
0
 def contact_url_with_protocol(self):
     return ensure_protocol(self.contact_url)
Beispiel #2
0
 def website_with_protocol(self):
     return ensure_protocol(self.website)
Beispiel #3
0
def test_ensure_protocol(input, expected):
    assert utils.ensure_protocol(input) == expected
Beispiel #4
0
 def contact_url_with_protocol(self):
     return ensure_protocol(self.contact_url)
Beispiel #5
0
 def website_with_protocol(self):
     return ensure_protocol(self.website)
Beispiel #6
0
def test_ensure_protocol(input, expected):
    assert utils.ensure_protocol(input) == expected