def testSupervisorToken(self):
    """Tests that the supervisor token overrides the approvals."""

    urn = rdf_client.ClientURN(0 % "C.%016X").Add("/fs/os/c")
    self.assertRaises(access_control.UnauthorizedAccess, aff4.FACTORY.Open, urn)

    super_token = access_control.ACLToken(username="test")
    super_token.supervisor = True
    aff4.FACTORY.Open(urn, mode="rw", token=super_token)
dataset/ETHPy150Open google/grr/grr/lib/aff4_objects/user_managers_test.py/FullAccessControlManagerIntegrationTest.testSupervisorToken/swapped operands of `%`