Merge pull request #31177 from Ch3LL/test_content_pillars

add integration test for issue #30934
This commit is contained in:
Mike Place 2016-02-12 15:09:31 -07:00
commit a024d3536f
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