Use uppercase KEY

This commit is contained in:
twangboy 2017-06-28 17:20:34 -06:00
parent a81d4b8d8d
commit 048e16883f
No known key found for this signature in database
GPG key ID: 93FF3BDEB278C9EB

View file

@ -83,7 +83,7 @@ class EnvironTestCase(TestCase, LoaderModuleMockMixin):
with patch.dict(os.environ, mock_environ):
mock_setval = MagicMock(return_value=None)
with patch.object(environ, 'setval', mock_setval):
self.assertEqual(environ.setenv({}, False, True, False)['key'],
self.assertEqual(environ.setenv({}, False, True, False)['KEY'],
None)
def test_get(self):