mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Mock with uppercase KEY
This commit is contained in:
parent
048e16883f
commit
d73ef44cf6
@ -70,7 +70,7 @@ class EnvironTestCase(TestCase, LoaderModuleMockMixin):
|
||||
Set multiple salt process environment variables from a dict.
|
||||
Returns a dict.
|
||||
'''
|
||||
mock_environ = {'key': 'value'}
|
||||
mock_environ = {'KEY': 'value'}
|
||||
with patch.dict(os.environ, mock_environ):
|
||||
self.assertFalse(environ.setenv('environ'))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user