Skip to content

Commit

Permalink
Fix test_git_transform.py
Browse files Browse the repository at this point in the history
  • Loading branch information
dgarros committed Jan 15, 2025
1 parent 3b9f2a9 commit f8cb159
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions backend/tests/unit/git/test_git_transform.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ async def test_git_transform_jinja2_success(git_repo_jinja: InfrahubRepository,
commit=commit,
branch="main",
template_location="template01.tpl.j2",
timeout=10,
data={"items": ["consilium", "potum", "album", "magnum"]},
)
expected_response = """
Expand All @@ -50,6 +51,7 @@ async def test_git_transform_jinja2_missing(git_repo_jinja: InfrahubRepository,
commit=commit,
branch="main",
template_location="template03.tpl.j2",
timeout=10,
data={"data": {"items": ["consilium", "potum", "album", "magnum"]}},
)

Expand All @@ -69,6 +71,7 @@ async def test_git_transform_jinja2_invalid(git_repo_jinja: InfrahubRepository,
commit=commit,
branch="main",
template_location="template02.tpl.j2",
timeout=10,
data={"data": {"items": ["consilium", "potum", "album", "magnum"]}},
)

Expand Down

0 comments on commit f8cb159

Please sign in to comment.