コード例 #1
0
 def test_domain_name_empty(self):
     "The domain name should not be the empty string."
     app._validate_domain_name('')
コード例 #2
0
 def test_domain_name_squaggle(self):
     "The domain name should contain a squaggle."
     app._validate_domain_name('http://example.com}')
コード例 #3
0
 def test_domain_name_space(self):
     "The domain name should not contain a space."
     app._validate_domain_name('Bagger 288')
コード例 #4
0
 def test_domain_name_semicolon(self):
     "The domain name should contain a semicolon."
     app._validate_domain_name('http://example.com;')