fix test_managed_file_with_grains_data

Closes saltstack/salt-jenkins#1121
This commit is contained in:
Daniel Wallace 2018-09-26 14:47:46 -05:00
parent ec2386eed8
commit cf5c179fd9
No known key found for this signature in database
GPG Key ID: 5FA5E5544F010D48
2 changed files with 1 additions and 1 deletions

View File

@ -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:

View File

@ -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])