mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Merge pull request #46647 from twangboy/win_fix_test_grains
Fix the tear down function in integration.modules.test_grains
This commit is contained in:
commit
f70f6de282
@ -152,8 +152,7 @@ class GrainsAppendTestCase(ModuleCase):
|
||||
GRAIN_VAL = 'my-grain-val'
|
||||
|
||||
def tearDown(self):
|
||||
for item in self.run_function('grains.get', [self.GRAIN_KEY]):
|
||||
self.run_function('grains.remove', [self.GRAIN_KEY, item])
|
||||
self.run_function('grains.setval', [self.GRAIN_KEY, []])
|
||||
|
||||
def test_grains_append(self):
|
||||
'''
|
||||
|
Loading…
Reference in New Issue
Block a user