working version
This commit is contained in:
@@ -50,3 +50,8 @@ def test_substitute_template_non_string():
|
||||
def test_substitute_template_no_placeholders():
|
||||
result = substitute_template("plain text", {"os": "linux"})
|
||||
assert result == "plain text"
|
||||
|
||||
|
||||
def test_substitute_template_env_namespace():
|
||||
result = substitute_template("{{ env.USER_EMAIL }}", {"env": {"USER_EMAIL": "you@example.com"}})
|
||||
assert result == "you@example.com"
|
||||
|
||||
Reference in New Issue
Block a user