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:
Nicole Thomas 2018-04-04 17:14:05 -04:00 committed by GitHub
commit f70f6de282
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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