diff --git a/tests/integration/files/conf/minion b/tests/integration/files/conf/minion index 371e9260d1..bb93151aa1 100644 --- a/tests/integration/files/conf/minion +++ b/tests/integration/files/conf/minion @@ -25,6 +25,7 @@ integration.test: True # Grains addons grains: test_grain: cheese + grain_path: /tmp/salt-tests-tmpdir/file-grain-test script: grail alot: many planets: diff --git a/tests/integration/states/test_file.py b/tests/integration/states/test_file.py index 8f618cbb50..b34f74cde3 100644 --- a/tests/integration/states/test_file.py +++ b/tests/integration/states/test_file.py @@ -355,7 +355,6 @@ class FileTest(ModuleCase, SaltReturnAssertsMixin): file. ''' grain_path = os.path.join(TMP, 'file-grain-test') - self.run_function('grains.set', ['grain_path', grain_path]) state_file = 'file-grainget' self.run_function('state.sls', [state_file])