def testOuradminIsMemberOfAdminGroup(self):
    pf = dmgtestutilities.ReadPlist(self.admin_plist)
    self.assertEqual('ouradmin' in pf['users'], True)
Check that ouradmin user is in admin group.
dataset/ETHPy150Open MacSysadmin/pymacadmin/utilities/diskimage_unittesting/tests/ouradmin_test.py/TestCheckForouradmin.testOuradminIsMemberOfAdminGroup