add integration test for issue 30934w

This commit is contained in:
Ch3LL 2016-02-12 12:21:50 -07:00
parent 7f49fbb70d
commit 9204e3f562
2 changed files with 12 additions and 0 deletions

View file

@ -0,0 +1,4 @@
add_contents_pillar_sls:
file.managed:
- name: /tmp/test-lists-content-pillars
- contents_pillar: companions:three

View file

@ -1890,6 +1890,14 @@ class FileTest(integration.ModuleCase, integration.SaltReturnAssertsMixIn):
os.remove(source)
os.remove(dest)
@destructiveTest
def test_contents_pillar_with_pillar_list(self):
'''
This tests for any regressions for this issue:
https://github.com/saltstack/salt/issues/30934
'''
ret = self.run_function('state.sls', mods='file_contents_pillar')
self.assertSaltTrueReturn(ret)
if __name__ == '__main__':
from integration import run_tests