def initgroups(self, uid, gid):
        self.initgroupsCalls.append((uid, gid))
Save L{util.initgroups} calls in C{self.initgroupsCalls}.
dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/python/test/test_util.py/SwitchUIDTest.initgroups