mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 00:55:19 +00:00
Under python 2.6 using {}.format()
(without an index) is a ValueError
.
This commit is contained in:
parent
f704550dd7
commit
2b0bc7056e
@ -70,7 +70,7 @@ class TestFileState(TestCase):
|
||||
def test_contents_pillar_adds_newline(self):
|
||||
# make sure the newline
|
||||
pillar_value = 'i am the pillar value'
|
||||
expected = '{}\n'.format(pillar_value)
|
||||
expected = '{0}\n'.format(pillar_value)
|
||||
|
||||
self.run_contents_pillar(pillar_value, expected)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user