'Only POSTs should work.'

def test_invalid_methods(self):

    for method in ['GET', 'PUT', 'DELETE', 'HEAD', 'OPTIONS']:
        request = webob.Request.blank('/', method=method)
        response = request.get_response(self.app)
        self.assertEqual(http_client.METHOD_NOT_ALLOWED, response.status_int)
