def test_uid(self):
        util.switchUID(12000, None)
        self.assertEqual(self.initgroupsCalls, [(12000, None)])
        self.assertEqual(self.mockos.actions, [("setuid", 12000)])
Perform a reset of the segmentation systems underlying data.
dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/python/test/test_util.py/SwitchUIDTest.test_uid--crossover with--dataset/ETHPy150Open sightmachine/SimpleCV/SimpleCV/Segmentation/DiffSegmentation.py/DiffSegmentation.reset