def require_context(ctxt):
    if not ctxt.is_os_admin and not is_user_context(ctxt):
        raise exception.AuthFailure()
Check that the AttributeError from AttributeErrorRouter bubbles up
dataset/ETHPy150Open openstack/ec2-api/ec2api/context.py/require_context--crossover with--dataset/ETHPy150Open django/django/tests/multiple_database/tests.py/RouterAttributeErrorTestCase.test_attribute_error_m2m