mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Removed all usages of deprecated TestCase methods (self.fail*). This removed most of the Warnings emitted (with -Wall) during the test suite.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14803 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
@@ -48,5 +48,5 @@ class WSGIFileWrapperTests(TestCase):
|
||||
err = StringIO()
|
||||
handler = FileWrapperHandler(None, StringIO(), err, env)
|
||||
handler.run(wsgi_app)
|
||||
self.failIf(handler._used_sendfile)
|
||||
self.assertFalse(handler._used_sendfile)
|
||||
self.assertEqual(handler.stdout.getvalue().splitlines()[-1],'Hello World!')
|
||||
|
||||
Reference in New Issue
Block a user