Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
Signed-off-by: wayner0628 <[email protected]>
  • Loading branch information
wayner0628 committed Nov 14, 2024
1 parent dd40447 commit 9416ca3
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/flytekit/unit/core/test_local_raw_container.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,12 @@ def flyte_dir_io_wf() -> FlyteDirectory:
return flyte_dir_io(inputs=fd)

with pytest.raises(
AssertionError, match="FlyteFile and FlyteDirectory commands should not use the syntax: {{.inputs.infile}}"
AssertionError,
match=(
r"FlyteFile and FlyteDirectory commands should not use the template syntax like this: \{\{\.inputs\.infile\}\}\n"
r"Please use a path-like syntax, such as: /var/inputs/infile.\n"
r"This requirement is due to how Flyte Propeller processes template syntax inputs."
)
):
flyte_dir_io_wf()

Expand Down

0 comments on commit 9416ca3

Please sign in to comment.