示例#1
0
 def test_show_backends(self):
     '''
     Test print all backends received from the HAProxy socket
     '''
     self.assertTrue(haproxyconn.show_backends())
示例#2
0
 def test_show_backends(self, mock):
     '''
     Test if it get a value from etcd, by direct path
     '''
     self.assertTrue(haproxyconn.show_backends())