mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
fix test_managed_file_with_grains_data
Closes saltstack/salt-jenkins#1121
This commit is contained in:
parent
ec2386eed8
commit
cf5c179fd9
@ -25,6 +25,7 @@ integration.test: True
|
|||||||
# Grains addons
|
# Grains addons
|
||||||
grains:
|
grains:
|
||||||
test_grain: cheese
|
test_grain: cheese
|
||||||
|
grain_path: /tmp/salt-tests-tmpdir/file-grain-test
|
||||||
script: grail
|
script: grail
|
||||||
alot: many
|
alot: many
|
||||||
planets:
|
planets:
|
||||||
|
@ -355,7 +355,6 @@ class FileTest(ModuleCase, SaltReturnAssertsMixin):
|
|||||||
file.
|
file.
|
||||||
'''
|
'''
|
||||||
grain_path = os.path.join(TMP, 'file-grain-test')
|
grain_path = os.path.join(TMP, 'file-grain-test')
|
||||||
self.run_function('grains.set', ['grain_path', grain_path])
|
|
||||||
state_file = 'file-grainget'
|
state_file = 'file-grainget'
|
||||||
|
|
||||||
self.run_function('state.sls', [state_file])
|
self.run_function('state.sls', [state_file])
|
||||||
|
Loading…
Reference in New Issue
Block a user