Mock with uppercase KEY

This commit is contained in:
twangboy 2017-06-29 10:54:25 -06:00
parent 048e16883f
commit d73ef44cf6
No known key found for this signature in database
GPG Key ID: 93FF3BDEB278C9EB

View File

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