diff options
| author | Tom Christie | 2011-12-29 13:31:12 +0000 |
|---|---|---|
| committer | Tom Christie | 2011-12-29 13:31:12 +0000 |
| commit | 07349597ab936dc9887caa70b5d7d2860c897b12 (patch) | |
| tree | db1fdb8934e4d8dc8d3afe8d1e9fd076e3a4e27d /djangorestframework/tests/methods.py | |
| parent | 1bdc5eacc6290c486796eb5ab8fa29092137dab6 (diff) | |
| download | django-rest-framework-07349597ab936dc9887caa70b5d7d2860c897b12.tar.bz2 | |
whitespace fixes
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() |
