'Test json content type is set if \'\' is selected'

def test_empty_content_type(self):

    index_url = reverse_course_url('course_search_index_handler', self.course.id)
    response = self.client.get(index_url, {}, CONTENT_TYPE='')
    self.assertIn(self.SUCCESSFUL_RESPONSE, response.content)
    self.assertEqual(response.status_code, 200)
