def test_template_mixin_without_template(self):
        view = views.TemplateResponseWithoutTemplate()
        with self.assertRaises(ImproperlyConfigured):
            view.get_template_names()
We want to makes sure that if you use a template mixin, but forget the
dataset/ETHPy150Open django/django/tests/generic_views/test_base.py/SingleObjectTemplateResponseMixinTest.test_template_mixin_without_template