diff options
Diffstat (limited to 'Lib/test/test_httplib.py')
-rw-r--r-- | Lib/test/test_httplib.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Lib/test/test_httplib.py b/Lib/test/test_httplib.py index ede0f4b..90bae88 100644 --- a/Lib/test/test_httplib.py +++ b/Lib/test/test_httplib.py @@ -161,8 +161,12 @@ def _test(): resp.close() +class OfflineTest(TestCase): + def test_responses(self): + self.assertEquals(httplib.responses[httplib.NOT_FOUND], "Not Found") + def test_main(verbose=None): - tests = [HeaderTests,] + tests = [HeaderTests,OfflineTest] test_support.run_unittest(*tests) test() |