def get_status(): """ Get status of deployed services --- operationId: 'getStatus' """ result = services_infra.get_services_status() return jsonify(result)
def test_get_service_status(self): env = infra.get_services_status() self.assertNotEqual(env, None) self.assertGreater(len(env), 0)