mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-12-02 01:53:05 +00:00
Remove mutable default from template-rendere
This commit is contained in:
@@ -7,7 +7,9 @@ def test_render_template_fallback():
|
||||
from jinja2.exceptions import TemplateNotFound
|
||||
with pytest.raises(TemplateNotFound):
|
||||
val = render_template(
|
||||
templatefile='subtemplates/indicators_does-not-exist.j2',)
|
||||
templatefile='subtemplates/indicators_does-not-exist.j2',
|
||||
arguments={},
|
||||
)
|
||||
|
||||
val = render_template_with_fallback(
|
||||
templatefile='strategy_subtemplates/indicators_does-not-exist.j2',
|
||||
|
||||
Reference in New Issue
Block a user