Пример #1
0
 def test_bare(self):
     local = hostnames.reverse("server")
     self.assertEqual(local, "server")
Пример #2
0
 def test_fqdn(self):
     local = hostnames.reverse("server.example.com")
     self.assertEqual(local, "com.example.server")