Lines Matching refs:assertRaisesErrno
175 self.assertRaisesErrno(errno.ENOENT, LookupMap, self.map_fd, key)
182 self.assertRaisesErrno(errno.ENOENT, GetNextKey, self.map_fd, key)
199 self.assertRaisesErrno(errno.ENOENT, LookupMap, self.map_fd, 101)
219 self.assertRaisesErrno(errno.EPERM, UpdateMap, self.map_fd, key, value)
220 self.assertRaisesErrno(errno.ENOENT, LookupMap, self.map_fd, key)
230 self.assertRaisesErrno(errno.EPERM, LookupMap, self.map_fd, key)
244 self.assertRaisesErrno(errno.EAGAIN, SocketUDPLoopBack, 1, 4, self.prog_fd)
245 self.assertRaisesErrno(errno.EAGAIN, SocketUDPLoopBack, 1, 6, self.prog_fd)
308 self.assertRaisesErrno(errno.ENOENT, LookupMap, self.map_fd, uid)
368 self.assertRaisesErrno(errno.EAGAIN, SocketUDPLoopBack, 1, 4, None)
369 self.assertRaisesErrno(errno.EAGAIN, SocketUDPLoopBack, 1, 6, None)
377 self.assertRaisesErrno(errno.EPERM, SocketUDPLoopBack, 1, 4, None)
378 self.assertRaisesErrno(errno.EPERM, SocketUDPLoopBack, 1, 6, None)
398 self.assertRaisesErrno(errno.ENOENT, LookupMap, self.map_fd, uid)