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