summaryrefslogtreecommitdiff
path: root/tests/regressiontests/conditional_processing/models.py
diff options
context:
space:
mode:
authormartin.bohacek <bohacekm@gmail.com>2012-06-05 13:29:33 +0200
committermartin.bohacek <bohacekm@gmail.com>2012-06-05 13:29:33 +0200
commiteee791e9b216333ad0b4c6c441a88828bf9aee62 (patch)
tree3f01e97ea9b0ac28e9c9718b35ae92d163865b1c /tests/regressiontests/conditional_processing/models.py
parentfbb73894395b728ec96c661da6f87523718c5398 (diff)
parent840ffd80baad85c05670d6b642f654cffaa93cc3 (diff)
Merge branch 'master' of https://github.com/django/django
Diffstat (limited to 'tests/regressiontests/conditional_processing/models.py')
-rw-r--r--tests/regressiontests/conditional_processing/models.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/regressiontests/conditional_processing/models.py b/tests/regressiontests/conditional_processing/models.py
index f7f48bc9c8..97aeff5eaa 100644
--- a/tests/regressiontests/conditional_processing/models.py
+++ b/tests/regressiontests/conditional_processing/models.py
@@ -63,10 +63,10 @@ class ConditionalGet(TestCase):
def testIfMatch(self):
self.client.defaults['HTTP_IF_MATCH'] = '"%s"' % ETAG
- response = self.client.put('/condition/etag/', {'data': ''})
+ response = self.client.put('/condition/etag/')
self.assertEqual(response.status_code, 200)
self.client.defaults['HTTP_IF_MATCH'] = '"%s"' % EXPIRED_ETAG
- response = self.client.put('/condition/etag/', {'data': ''})
+ response = self.client.put('/condition/etag/')
self.assertEqual(response.status_code, 412)
def testBothHeaders(self):