'Input with bad oauth body hash verification'

def test_lti20_rest_failed_oauth_body_verify(self):

    err_msg = 'OAuth    body    verification    failed'
    self.xmodule.verify_oauth_body_sign = Mock(side_effect=LTIError(err_msg))
    with self.assertRaisesRegexp(LTIError, err_msg):
        request = Mock(headers={u'Content-Type': u'application/vnd.ims.lis.v2.result+json'})
        self.xmodule.verify_lti_2_0_result_rest_headers(request)
