Beispiel #1
0
 def test_show_frontends(self):
     '''
     Test print all frontends received from the HAProxy socket
     '''
     self.assertTrue(haproxyconn.show_frontends())
Beispiel #2
0
 def test_show_frontends(self, mock):
     '''
     Test if it get a value from etcd, by direct path
     '''
     self.assertTrue(haproxyconn.show_frontends())