def testIsAdminUserTrue(self):
    self.mox.StubOutWithMock(auth, '_GetGroupMembers')

    admin_email = 'admin4@example.com'
    auth._GetGroupMembers('admins').AndReturn([admin_email])

    self.mox.ReplayAll()
    self.assertTrue(auth.IsAdminUser(admin_email))
    self.mox.VerifyAll()
Compares the given CPU description with the host CPU.
dataset/ETHPy150Open google/simian/src/tests/simian/mac/common/auth_test.py/AuthModuleTest.testIsAdminUserTrue--crossover with--dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/virt/libvirt/host.py/Host.compare_cpu