'Input with bad content type'

def test_lti20_rest_bad_contenttype(self):

    with self.assertRaisesRegexp(LTIError, 'Content-Type    must    be'):
        request = Mock(headers={u'Content-Type': u'Non-existent'})
        self.xmodule.verify_lti_2_0_result_rest_headers(request)
