From 5beb831ae9c76727f6a67ae0078f250288e35448 Mon Sep 17 00:00:00 2001 From: Ilya Kreymer Date: Sat, 26 Jul 2014 14:27:31 -0700 Subject: [PATCH] wbrequestresponse: update doctest --- pywb/framework/test/test_wbrequestresponse.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pywb/framework/test/test_wbrequestresponse.py b/pywb/framework/test/test_wbrequestresponse.py index e066d4d1..65940e4a 100644 --- a/pywb/framework/test/test_wbrequestresponse.py +++ b/pywb/framework/test/test_wbrequestresponse.py @@ -40,7 +40,7 @@ # WbResponse Tests # ================= >>> WbResponse.text_response('Test') -{'body': ['Test'], 'status_headers': StatusAndHeaders(protocol = '', statusline = '200 OK', headers = [('Content-Type', 'text/plain')])} +{'body': ['Test'], 'status_headers': StatusAndHeaders(protocol = '', statusline = '200 OK', headers = [('Content-Type', 'text/plain'), ('Content-Length', '4')])} >>> WbResponse.text_stream(['Test', 'Another'], '404') {'body': ['Test', 'Another'], 'status_headers': StatusAndHeaders(protocol = '', statusline = '404', headers = [('Content-Type', 'text/plain')])}