Exemple #1
0
 def test_eventletnet(self):
     original = socket.getfqdn("eventlet.net")
     new = greendns.getfqdn("eventlet.net")
     self.assertEquals(new, original)
Exemple #2
0
 def test_empty(self):
     original = socket.getfqdn()
     new = greendns.getfqdn()
     self.assertEquals(new, original)