Searched refs:fake_open (Results 1 – 6 of 6) sorted by relevance
/external/autotest/client/bin/ |
D | partition_unittest.py | 88 def fake_open(filename): function 101 open_func=fake_open) 108 parts = partition.get_partition_list(job, open_func=fake_open) 116 open_func=fake_open) 124 open_func=fake_open)
|
/external/chromium-trace/catapult/telemetry/third_party/pyfakefs/pyfakefs/ |
D | fake_filesystem_unittest.py | 133 self.fake_open = None 177 self.fake_open = fake_filesystem.FakeFileOpen(self.fs) 193 self._stubs.SmartSet(builtins, 'file', self.fake_open) 194 self._stubs.SmartSet(builtins, 'open', self.fake_open)
|
D | fake_filesystem_vs_real_test.py | 70 fh = self.fake_open(fake_path, 'w') 78 fh = self.fake_open(fake_path, 'wb') 115 self.fake_open = fake_filesystem.FakeFileOpen(self.fake_filesystem) 271 with self.fake_open(path, mode) as fake_fh:
|
D | fake_filesystem_test.py | 605 fake_open = fake_filesystem.FakeFileOpen(self.filesystem) 608 fake_file1 = fake_open(file_path1, 'r') 621 fake_open = fake_filesystem.FakeFileOpen(self.filesystem) 629 fake_file1 = fake_open(first_path, 'r') 630 fake_file2 = fake_open(second_path, 'r') 631 fake_file3 = fake_open(third_path, 'r') 647 fake_open = fake_filesystem.FakeFileOpen(self.filesystem) 652 fake_file1 = fake_open(file_path1, 'r') 682 fake_open = fake_filesystem.FakeFileOpen(self.filesystem) 684 fh = fake_open(file_path, 'w') [all …]
|
/external/chromium-trace/catapult/third_party/pyfakefs/pyfakefs/ |
D | fake_filesystem_unittest.py | 139 self.fake_open = None 185 self.fake_open = fake_filesystem.FakeFileOpen(self.fs) 201 self._stubs.SmartSet(builtins, 'file', self.fake_open) 202 self._stubs.SmartSet(builtins, 'open', self.fake_open)
|
/external/autotest/scheduler/ |
D | drone_utility_unittest.py | 39 fake_open = lambda path, mode: self.fail('dark mark checked!') function 41 open=fake_open)
|