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