Lines Matching refs:assertRaisesErrno
56 self.assertRaisesErrno(ENOTCONN, sock.getpeername)
92 self.assertRaisesErrno(ENOTCONN, s.getpeername)
251 self.assertRaisesErrno(
264 self.assertRaisesErrno(EINVAL, DiagDump, op + 17)
316 self.assertRaisesErrno(ENOENT, self.sock_diag.CloseSocket, req)
330 self.assertRaisesErrno(EOPNOTSUPP, self.sock_diag.CloseSocketFromFd, s)
389 self.assertRaisesErrno(EINVAL, sock.accept)
452 self.assertRaisesErrno(ENOENT, self.sock_diag.GetSockDiag, child)
458 self.assertRaisesErrno(ENOENT, self.sock_diag.GetSockDiag, parent)
462 self.assertRaisesErrno(ENOENT, self.sock_diag.GetSockDiag, child)
470 self.assertRaisesErrno(ENOENT, self.sock_diag.GetSockDiag, child)
514 self.assertRaisesErrno(ECONNABORTED, self.s.send, "foo")
515 self.assertRaisesErrno(EINVAL, self.s.accept)
523 self.assertRaisesErrno(EPIPE, self.accepted.send, "foo")