mirror of
https://github.com/valitydev/salt.git
synced 2024-11-06 16:45:27 +00:00
Adapt tests to behaviour introduced in #13333
This commit is contained in:
parent
d7bac143ac
commit
5283fa661e
@ -50,7 +50,8 @@ class CompileTest(integration.ModuleCase):
|
||||
template = [
|
||||
'{0}:'.format(managed_file),
|
||||
' file.managed:',
|
||||
' - contents: {{ saltenv }}'
|
||||
' - contents: {{ saltenv }}',
|
||||
' - contents_newline: False'
|
||||
]
|
||||
try:
|
||||
ret = self.run_function('state.template_str', ['\n'.join(template)], timeout=120)
|
||||
@ -62,7 +63,9 @@ class CompileTest(integration.ModuleCase):
|
||||
template = [
|
||||
'{0}:'.format(managed_file),
|
||||
' file.managed:',
|
||||
' - contents: {{ env }}'
|
||||
' - contents: {{ env }}',
|
||||
' - contents_newline: False'
|
||||
|
||||
]
|
||||
try:
|
||||
ret = self.run_function('state.template_str', ['\n'.join(template)], timeout=120)
|
||||
|
Loading…
Reference in New Issue
Block a user