コード例 #1
0
ファイル: test_validator.py プロジェクト: AnyBucket/scalr
 def test_domain(self):
     assert Validator.domain('example.com')
     assert Validator.domain('example1.example.com')
     assert Validator.domain('example1.example.com.')
コード例 #2
0
 def test_domain(self):
     assert Validator.domain('example.com')
     assert Validator.domain('example1.example.com')
     assert Validator.domain('example1.example.com.')