def require_admin_context(ctxt):
    if not ctxt.is_admin:
        raise exception.AdminRequired()
Test archiving of a super-entity instance record
dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/context.py/require_admin_context--crossover with--dataset/ETHPy150Open sahana/eden/modules/unit_tests/s3/s3resource.py/ResourceDeleteTests.testArchiveSuperSetNull