fix fakeenv creation when used from a non-primary volume

main
Fabien C. Y. Benureau 7 years ago
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…
Cancel
Save