mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Updates to the test suite to allow for newly deprecated and removed features
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15990 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
@@ -50,14 +50,6 @@ class CsrfViewMiddlewareTest(TestCase):
|
||||
_csrf_id_cookie = "<1>\xc2\xa1"
|
||||
_csrf_id = "1"
|
||||
|
||||
def setUp(self):
|
||||
self.save_warnings_state()
|
||||
warnings.filterwarnings('ignore', category=DeprecationWarning,
|
||||
module='django.middleware.csrf')
|
||||
|
||||
def tearDown(self):
|
||||
self.restore_warnings_state()
|
||||
|
||||
def _get_GET_no_csrf_cookie_request(self):
|
||||
return TestingHttpRequest()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user