@@ -211,7 +211,7 @@ def bad_app(e,s):
211211 self .assertEqual (
212212 err .splitlines ()[- 2 ], "AssertionError"
213213 )
214-
214+
215215 def test_wsgi_input_read (self ):
216216 bad_app = input_app ("read" )
217217 good_app = input_app ("read" , 5 )
@@ -227,7 +227,7 @@ def test_wsgi_input_read(self):
227227
228228 out , err = run_amock (validator (good_app ), b"GET / HTTP/1.0\n \n Test 1\n Test 2\n " )
229229 self .assertTrue (out .endswith (b"Test " ))
230-
230+
231231 def test_wsgi_input_readlines (self ):
232232 bad_app = input_app ("readlines" , 3 , 5 )
233233 good_app = input_app ("readlines" , 1 )
@@ -241,12 +241,12 @@ def test_wsgi_input_readlines(self):
241241 )
242242 out , err = run_amock (validator (good_app ), b"GET / HTTP/1.0\n \n Test Line 1\n Test Line 2\n " )
243243 self .assertTrue (out .endswith (b"Test Line 1\n " ))
244-
244+
245245 def test_wsgi_input_readline (self ):
246246 bad_app = input_app ("readline" , 3 , 4 )
247247 good_app = input_app ("readline" , 2 )
248248
249- out , err = run_amock (validator (bad_app ))
249+ out , err = run_amock (validator (bad_app ))
250250 self .assertTrue (out .endswith (
251251 b"A server error occurred. Please contact the administrator."
252252 ))
@@ -274,7 +274,7 @@ def app(e,s):
274274 out , err = run_amock (validator (app ), b"GET / HTTP/1.0\n \n Test 1\n Test 2\n " )
275275 self .assertTrue (out .endswith (b"Test 1\n ;Test 2\n " ))
276276
277- def test_wsgi_errors_write (self ):
277+ def test_wsgi_errors_write (self ):
278278 bad_app = errors_app ("write" , b"Test" )
279279 good_app = errors_app ("write" , "Test" )
280280
0 commit comments