Home | History | Annotate | Download | only in test

Lines Matching refs:errno

1 """Test the errno module
5 import errno
16 self.assertTrue(hasattr(errno, error_code),
17 "errno is missing %s" % error_code)
20 # Every key value in errno.errorcode should be on the module.
21 for value in errno.errorcode.itervalues():
22 self.assertTrue(hasattr(errno, value), 'no %s attr in errno' % value)
28 for attribute in errno.__dict__.iterkeys():
30 self.assertIn(getattr(errno, attribute), errno.errorcode,
31 'no %s attr in errno.errorcode' % attribute)