fix fakeenv creation when used from a non-primary volume
This commit is contained in:
parent
47b69820b8
commit
9a6db894d8
@ -92,6 +92,7 @@ class TestFakeFs(fake_filesystem_unittest.TestCase):
|
||||
def setUp(self):
|
||||
self.rootpath = os.path.abspath(os.path.dirname(__file__))
|
||||
self.setUpPyfakefs()
|
||||
self.fs.CreateDirectory(os.path.expanduser('~'))
|
||||
self.fs.CreateDirectory(self.rootpath)
|
||||
os.chdir(self.rootpath)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user