Here is a test case.
======================================================================
FAIL: test_client_constants (test.test_httplib.OfflineTest) (constant='REQUESTED_RANGE_NOT_SATISFIABLE')
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/berker/projects/cpython/default/Lib/test/test_httplib.py", line 985, in test_client_constants
self.assertTrue(hasattr(client, const))
AssertionError: False is not true
======================================================================
FAIL: test_client_constants (test.test_httplib.OfflineTest) (constant='REQUEST_HEADER_FIELDS_TOO_LARGE')
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/berker/projects/cpython/default/Lib/test/test_httplib.py", line 985, in test_client_constants
self.assertTrue(hasattr(client, const))
AssertionError: False is not true |