'#12787 -- The correct template is identified as not existing
when {% extends %} specifies a template that does exist, but that
template has an {% include %} of something that does not exist.'

def test_extends_include_missing_baseloader(self):

    engine = Engine(app_dirs=True, debug=True)
    template = engine.get_template('test_extends_error.html')
    with self.assertRaises(TemplateDoesNotExist) as e:
        template.render(Context())
    self.assertEqual(e.exception.args[0], 'missing.html')
