Revision 14aeab22 test/ganeti.utils_unittest.py

b/test/ganeti.utils_unittest.py
1836 1836

  
1837 1837
  def testIgnoreSignals(self):
1838 1838
    sock_err_intr = socket.error(errno.EINTR, "Message")
1839
    sock_err_intr.errno = errno.EINTR
1840 1839
    sock_err_inval = socket.error(errno.EINVAL, "Message")
1841
    sock_err_inval.errno = errno.EINVAL
1842 1840

  
1843 1841
    env_err_intr = EnvironmentError(errno.EINTR, "Message")
1844 1842
    env_err_inval = EnvironmentError(errno.EINVAL, "Message")

Also available in: Unified diff