mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix linter error
This commit is contained in:
parent
009a8f56ea
commit
73d06f664b
1 changed files with 2 additions and 0 deletions
|
@ -30,8 +30,10 @@ class TestEnvironState(TestCase, LoaderModuleMockMixin):
|
|||
def setUp(self):
|
||||
patcher = patch.dict(os.environ, {'INITIAL': 'initial'}, clear=True)
|
||||
patcher.start()
|
||||
|
||||
def reset_environ(patcher):
|
||||
patcher.stop()
|
||||
|
||||
self.addCleanup(reset_environ, patcher)
|
||||
|
||||
def test_setenv(self):
|
||||
|
|
Loading…
Add table
Reference in a new issue