diff options
| author | Marko Tibold | 2011-12-30 01:37:32 +0100 |
|---|---|---|
| committer | Marko Tibold | 2011-12-30 01:37:32 +0100 |
| commit | 1b28339e5b733a0422c2bcd06b39e289bc98f69b (patch) | |
| tree | 9e766f4f9d9ec596bc0e2702e1bb291b90aa3a93 /djangorestframework/tests/methods.py | |
| parent | 91cee26ad89c04a70f33ae334150dd127f900474 (diff) | |
| parent | a0c4dca9462c738aac3c712607997b9bd1f7b2c8 (diff) | |
| download | django-rest-framework-1b28339e5b733a0422c2bcd06b39e289bc98f69b.tar.bz2 | |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'djangorestframework/tests/methods.py')
| -rw-r--r-- | djangorestframework/tests/methods.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/djangorestframework/tests/methods.py b/djangorestframework/tests/methods.py index c3a3a28d..4b90a21f 100644 --- a/djangorestframework/tests/methods.py +++ b/djangorestframework/tests/methods.py @@ -3,7 +3,7 @@ from djangorestframework.compat import RequestFactory from djangorestframework.mixins import RequestMixin -class TestMethodOverloading(TestCase): +class TestMethodOverloading(TestCase): def setUp(self): self.req = RequestFactory() @@ -18,7 +18,7 @@ class TestMethodOverloading(TestCase): view = RequestMixin() view.request = self.req.post('/') self.assertEqual(view.method, 'POST') - + def test_overloaded_POST_behaviour_determines_overloaded_method(self): """POST requests can be overloaded to another method by setting a reserved form field""" view = RequestMixin() |
