def test_bad_content_type(self):
        with self.assertRaises(ImproperlyConfigured):
            self.dispatch_view(self.build_request(), content_type=['a'])
ImproperlyConfigured exception should be raised if content_type
dataset/ETHPy150Open brack3t/django-braces/tests/test_ajax_mixins.py/TestJSONResponseMixin.test_bad_content_type