diff options
| author | Alexey Boriskin <sun.void@gmail.com> | 2012-08-19 01:04:08 +0400 |
|---|---|---|
| committer | Alexey Boriskin <sun.void@gmail.com> | 2012-08-19 01:04:08 +0400 |
| commit | f29032eac65c076e54e000966602c35239de15ac (patch) | |
| tree | 7c098260af81ae5c803c526829a9315f0cae353e | |
| parent | de3ad8bb2d14ccf878121b96e6e0359dd8b1f9d5 (diff) | |
Fixed #18793: Duplicate test test_head_no_get in generic_views.base
| -rw-r--r-- | tests/regressiontests/generic_views/base.py | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/tests/regressiontests/generic_views/base.py b/tests/regressiontests/generic_views/base.py index a61b01be0b..439b0d7327 100644 --- a/tests/regressiontests/generic_views/base.py +++ b/tests/regressiontests/generic_views/base.py @@ -173,15 +173,6 @@ class ViewTest(unittest.TestCase): """ self.assertTrue(DecoratedDispatchView.as_view().is_decorated) - def test_head_no_get(self): - """ - Test that a view class with no get responds to a HEAD request with HTTP - 405. - """ - request = self.rf.head('/') - view = PostOnlyView.as_view() - self.assertEqual(405, view(request).status_code) - def test_options(self): """ Test that views respond to HTTP OPTIONS requests with an Allow header |
