@pytest.fixture
def filesystem_loader():
    here = os.path.dirname(os.path.abspath(__file__))
    return loaders.FileSystemLoader(here + '/res/templates')
returns FileSystemLoader initialized to res/templates directory
dataset/ETHPy150Open pallets/jinja/tests/conftest.py/filesystem_loader