mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #31177 from Ch3LL/test_content_pillars
add integration test for issue #30934
This commit is contained in:
commit
a024d3536f
2 changed files with 12 additions and 0 deletions
|
@ -0,0 +1,4 @@
|
|||
add_contents_pillar_sls:
|
||||
file.managed:
|
||||
- name: /tmp/test-lists-content-pillars
|
||||
- contents_pillar: companions:three
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue