'Test that a view implementing POST allows POST.'

def test_options_for_post_view(self):

    request = self.rf.options('/')
    view = PostOnlyView.as_view()
    response = view(request)
    self._assert_allows(response, 'POST')
