def test_domain(self): assert Validator.domain('example.com') assert Validator.domain('example1.example.com') assert Validator.domain('example1.example.com.')