Home | History | Annotate | Download | only in test

Lines Matching refs:errno

2 """Test the errno module
6 import errno
17 self.assertTrue(hasattr(errno, error_code),
18 "errno is missing %s" % error_code)
21 # Every key value in errno.errorcode should be on the module.
22 for value in errno.errorcode.itervalues():
23 self.assertTrue(hasattr(errno, value), 'no %s attr in errno' % value)
29 for attribute in errno.__dict__.iterkeys():
31 self.assertIn(getattr(errno, attribute), errno.errorcode,
32 'no %s attr in errno.errorcode' % attribute)