|
|
@ -92,6 +92,7 @@ class TestFakeFs(fake_filesystem_unittest.TestCase):
|
|
|
|
def setUp(self):
|
|
|
|
def setUp(self):
|
|
|
|
self.rootpath = os.path.abspath(os.path.dirname(__file__))
|
|
|
|
self.rootpath = os.path.abspath(os.path.dirname(__file__))
|
|
|
|
self.setUpPyfakefs()
|
|
|
|
self.setUpPyfakefs()
|
|
|
|
|
|
|
|
self.fs.CreateDirectory(os.path.expanduser('~'))
|
|
|
|
self.fs.CreateDirectory(self.rootpath)
|
|
|
|
self.fs.CreateDirectory(self.rootpath)
|
|
|
|
os.chdir(self.rootpath)
|
|
|
|
os.chdir(self.rootpath)
|
|
|
|
|
|
|
|
|
|
|
|