'Check that the template directories form part of the template cache key. Refs #13573'

def test_templatedir_caching(self):

    (t1, name) = loader.find_template('test.html', (os.path.join(os.path.dirname(__file__), 'templates', 'first'),))
    (t2, name) = loader.find_template('test.html', (os.path.join(os.path.dirname(__file__), 'templates', 'second'),))
    self.assertNotEqual(t1.render(Context({})), t2.render(Context({})))
