

def _get_default_domain(self):
    domain = {
        'id': self.request.session.get('domain_context', None),
        'name': self.request.session.get('domain_context_name', None),
    }
    return api.base.APIDictWrapper(domain)

dataset/ETHPy150Open CiscoSystems/avos/openstack_dashboard/dashboards/identity/users/tests.py UsersViewTests._get_default_domain/original