def hosting_devices_unassigned_from_cfg_agent(self, context, payload):
        try:
            if payload['hosting_device_ids']:
                #TODO(hareeshp): implement unassignment of hosting devices
                pass
        except KeyError as e:
            LOG.error(_LE("Invalid payload format for received RPC message "
                          "`hosting_devices_unassigned_from_cfg_agent`. Error "
                          "is %(error)s. Payload is %(payload)s"),
                      {'error': e, 'payload': payload})
Perform any global pre-test setup. This involves:
dataset/ETHPy150Open openstack/networking-cisco/networking_cisco/plugins/cisco/cfg_agent/cfg_agent.py/CiscoCfgAgent.hosting_devices_unassigned_from_cfg_agent--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.3/django/test/utils.py/setup_test_environment