@nottest
    def assert_extended(self, s, txt, templ):
        content = (templ.strip() % txt).strip()
        bd = File(TEST_SITE.child('content/auto_extend.html'))
        bd.write(content)
        gen = Generator(s)
        gen.generate_resource_at_path(bd.path)
        res = s.content.resource_from_path(bd.path)
        target = File(
            s.config.deploy_root_path.child(res.relative_deploy_path))
        assert target.exists
        text = target.read_all()
        q = PyQuery(text)
        assert q('title').text().strip() == txt.strip()
dataset/ETHPy150Open hyde/hyde/tests/ext/test_auto_extend.py/TestAutoExtend.assert_extended/original