def test_get_uid_whenset(self): self.assertEqual(sc._get_uid(1000), '1000')
def test_get_uid(self): uid = '1000' if os.name == 'nt' else str(os.getuid()) self.assertEqual(sc._get_uid(None), uid)