Пример #1
0
 def test_gid_to_qid_wheel_string(self):
     gid = '0'
     qid_target = QID_GID_BASE + int(gid)
     self.assertEqual(qid_target, qacls.gid_to_qid(gid))
Пример #2
0
 def test_gid_to_qid_wheel(self):
     gid = 0
     qid_target = QID_GID_BASE + gid
     self.assertEqual(qid_target, qacls.gid_to_qid(gid))