def METHOD_NAME(self, fake_mtime, db_session):
    """Test that we can find a template"""
    template1 = Template(
        name="run",
        idxname="run-data",
        template_name="run",
        file="run-toc.json",
        template_pattern="drb.v2.run-toc.*",
        index_template="drb.v2.run-toc.{year}-{month}",
        settings={"none": False},
        mappings={"properties": None},
        version=5,
    )
    template1.add()
    template2 = Template.find(name="run")
    assert template2.name == template1.name
    assert template2.id is template1.id