Lines Matching refs:self
30 def test_ioctl(self):
37 self.assertIn(rpgrp, ids)
39 def _check_ioctl_mutate_len(self, nbytes=None):
48 self.assertEqual(len(buf) * intsize, nbytes) # sanity check
54 self.assertEqual(r, 0)
55 self.assertIn(rpgrp, ids)
57 def test_ioctl_mutate(self):
58 self._check_ioctl_mutate_len()
60 def test_ioctl_mutate_1024(self):
63 self._check_ioctl_mutate_len(1024)
65 def test_ioctl_mutate_2048(self):
67 self._check_ioctl_mutate_len(2048)
69 def test_ioctl_signed_unsigned_code_param(self):