Searched refs:fake_filesystem (Results 1 - 15 of 15) sorted by relevance
/external/chromium-trace/catapult/telemetry/third_party/pyfakefs/pyfakefs/ |
H A D | fake_filesystem_unittest.py | 45 import fake_filesystem namespace 104 SKIPMODULES = set([None, fake_filesystem, fake_filesystem_glob, 171 self.fs = fake_filesystem.FakeFilesystem() 172 self.fake_os = fake_filesystem.FakeOsModule(self.fs) 177 self.fake_open = fake_filesystem.FakeFileOpen(self.fs) 212 globs['os'] = fake_filesystem.FakeOsModule(self.fs) 216 globs['path'] = fake_filesystem.FakePathModule(self.fs)
|
H A D | setup.py | 20 from fake_filesystem import __version__ 26 MODULES = ['fake_filesystem',
|
H A D | fake_filesystem_glob.py | 15 """A fake glob module implementation that uses fake_filesystem for unit tests. 22 >>> import fake_filesystem 24 >>> filesystem = fake_filesystem.FakeFilesystem() 38 import fake_filesystem namespace 51 self._os_module = fake_filesystem.FakeOsModule(filesystem)
|
H A D | fake_filesystem_glob_test.py | 26 import fake_filesystem namespace 33 self.filesystem = fake_filesystem.FakeFilesystem(path_separator='/')
|
H A D | fake_filesystem_vs_real_test.py | 33 import fake_filesystem namespace 112 self.fake_filesystem = fake_filesystem.FakeFilesystem() 113 self.fake_filesystem.CreateDirectory(self.fake_base) 114 self.fake_os = fake_filesystem.FakeOsModule(self.fake_filesystem) 115 self.fake_open = fake_filesystem.FakeFileOpen(self.fake_filesystem) 166 fake: fake_filsystem object or method from a fake_filesystem class 385 # fake_filesystem [all...] |
H A D | fake_tempfile.py | 28 import fake_filesystem namespace 40 filesystem = fake_filesystem.FakeFilesystem() 145 mock_open = fake_filesystem.FakeFileOpen(
|
H A D | fake_filesystem_test.py | 17 """Unittest for fake_filesystem module.""" 30 import fake_filesystem namespace 53 self.fake_file = fake_filesystem.FakeFile('foobar', contents='dummy_file') 54 self.fake_dir = fake_filesystem.FakeDirectory('somedir') 113 filesystem = fake_filesystem.FakeFilesystem(path_separator='/') 114 fake_os = fake_filesystem.FakeOsModule(filesystem) 124 filesystem = fake_filesystem.FakeFilesystem(path_separator='/') 125 fake_os = fake_filesystem.FakeOsModule(filesystem) 151 self.filesystem = fake_filesystem.FakeFilesystem(path_separator='/') 183 self.filesystem = fake_filesystem [all...] |
H A D | fake_tempfile_test.py | 33 import fake_filesystem namespace 66 self.filesystem = fake_filesystem.FakeFilesystem(path_separator='/')
|
H A D | fake_filesystem_shutil_test.py | 27 import fake_filesystem namespace 34 self.filesystem = fake_filesystem.FakeFilesystem(path_separator='/') 199 self.filesystem = fake_filesystem.FakeFilesystem(path_separator='/')
|
H A D | fake_filesystem.py | 28 >>> import fake_filesystem 29 >>> filesystem = fake_filesystem.FakeFilesystem() 30 >>> os_module = fake_filesystem.FakeOsModule(filesystem) 59 >>> file_module = fake_filesystem.FakeFileOpen(filesystem) 69 File "fake_filesystem.py", line 291, in listdir 1148 filesystem = fake_filesystem.FakeFilesystem() 1149 my_os_module = fake_filesystem.FakeOsModule(filesystem) 2197 import fake_filesystem # pylint: disable-msg=W0406 namespace 2198 return doctest.testmod(fake_filesystem)
|
/external/chromium-trace/catapult/third_party/pyfakefs/pyfakefs/ |
H A D | fake_filesystem_unittest.py | 49 from pyfakefs import fake_filesystem namespace 108 SKIPMODULES = set([None, fake_filesystem, fake_filesystem_glob, 179 self.fs = fake_filesystem.FakeFilesystem() 180 self.fake_os = fake_filesystem.FakeOsModule(self.fs) 185 self.fake_open = fake_filesystem.FakeFileOpen(self.fs) 220 globs['os'] = fake_filesystem.FakeOsModule(self.fs) 225 else fake_filesystem.FakeOsModule(self.fs)
|
H A D | fake_filesystem_glob.py | 15 """A fake glob module implementation that uses fake_filesystem for unit tests. 22 >>> from pyfakefs import fake_filesystem 24 >>> filesystem = fake_filesystem.FakeFilesystem() 38 from pyfakefs import fake_filesystem namespace 51 self._os_module = fake_filesystem.FakeOsModule(filesystem)
|
H A D | fake_tempfile.py | 29 from pyfakefs import fake_filesystem namespace 41 filesystem = fake_filesystem.FakeFilesystem() 146 mock_open = fake_filesystem.FakeFileOpen(
|
H A D | fake_filesystem.py | 28 >>> from pyfakefs import fake_filesystem 29 >>> filesystem = fake_filesystem.FakeFilesystem() 30 >>> os_module = fake_filesystem.FakeOsModule(filesystem) 59 >>> file_module = fake_filesystem.FakeFileOpen(filesystem) 69 File "fake_filesystem.py", line 291, in listdir 1166 filesystem = fake_filesystem.FakeFilesystem() 1167 my_os_module = fake_filesystem.FakeOsModule(filesystem) 2222 from pyfakefs import fake_filesystem # pylint: disable-msg=W0406 namespace 2223 return doctest.testmod(fake_filesystem)
|
/external/chromium-trace/catapult/dependency_manager/dependency_manager/ |
H A D | base_config_unittest.py | 13 from pyfakefs import fake_filesystem namespace 160 file_module = fake_filesystem.FakeFileOpen(self.fs) 203 file_module = fake_filesystem.FakeFileOpen(self.fs) 214 file_module = fake_filesystem.FakeFileOpen(self.fs) 229 file_module = fake_filesystem.FakeFileOpen(self.fs) 262 file_module = fake_filesystem.FakeFileOpen(self.fs) 310 file_module = fake_filesystem.FakeFileOpen(self.fs) 352 file_module = fake_filesystem.FakeFileOpen(self.fs) 396 file_module = fake_filesystem.FakeFileOpen(self.fs) 448 file_module = fake_filesystem [all...] |
Completed in 198 milliseconds