'Verify that the view only responds to POST operations.'

@ddt.data('delete', 'get', 'put')
def test_post_required(self, method):

    response = getattr(self.client, method)(self.url)
    self.assertEqual(405, response.status_code)
