Show More
@@ -259,7 +259,7 b' class TestGetUserHome(unittest.TestCase)' | |||||
259 |
|
259 | |||
260 | @mock.patch.object(os, 'environ', {}) |
|
260 | @mock.patch.object(os, 'environ', {}) | |
261 | def test_defaults_to_none(self): |
|
261 | def test_defaults_to_none(self): | |
262 |
self.assertEqual(get_user_home(), |
|
262 | self.assertEqual(get_user_home(), '') | |
263 |
|
263 | |||
264 | @mock.patch.object(os, 'environ', {'HOME': '/home/foobar'}) |
|
264 | @mock.patch.object(os, 'environ', {'HOME': '/home/foobar'}) | |
265 | def test_unix_like(self): |
|
265 | def test_unix_like(self): |
General Comments 0
You need to be logged in to leave comments.
Login now