Searched refs:fake_open (Results 1 – 4 of 4) 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)
|
D | utils_unittest.py | 24 utils._open_file = self.fake_open 28 def fake_open(self, path): member in TestUtils
|
/external/python/cpython3/Lib/test/ |
D | test_fileinput.py | 866 self.fake_open = InvocationRecorder() 877 gzip.open = self.fake_open 883 self.assertEqual(self.fake_open.invocation_count, 1) 884 self.assertEqual(self.fake_open.last_invocation, (("test.gz", 3), {})) 889 bz2.BZ2File = self.fake_open 895 self.assertEqual(self.fake_open.invocation_count, 1) 896 self.assertEqual(self.fake_open.last_invocation, (("test.bz2", 4), {})) 908 original_open = self.replace_builtin_open(self.fake_open) 914 self.assertEqual(self.fake_open.invocation_count, 1) 915 self.assertEqual(self.fake_open.last_invocation, [all …]
|
/external/libese/libese-hw/ |
D | ese_hw_fake.c | 42 static int fake_open(struct EseInterface *ese, in fake_open() function 156 .open = &fake_open,
|