1
0
Fork 0

Adding upstream version 0.45+dfsg.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-05 18:41:31 +01:00
parent b4efa209be
commit eb42e29864
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
35 changed files with 4489 additions and 0 deletions

24
tests/conftest.py Normal file
View file

@ -0,0 +1,24 @@
import pytest
import jinjax
@pytest.fixture()
def folder(tmp_path):
d = tmp_path / "components"
d.mkdir()
return d
@pytest.fixture()
def folder_t(tmp_path):
d = tmp_path / "templates"
d.mkdir()
return d
@pytest.fixture()
def catalog(folder):
catalog = jinjax.Catalog(auto_reload=False)
catalog.add_folder(folder)
return catalog