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