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 | 16 utils._open_file = self.fake_open 20 def fake_open(self, path): member in TestUtils
|
/external/python/cpython3/Lib/test/ |
D | test_fileinput.py | 885 self.fake_open = InvocationRecorder() 896 gzip.open = self.fake_open 902 self.assertEqual(self.fake_open.invocation_count, 1) 903 self.assertEqual(self.fake_open.last_invocation, (("test.gz", 3), {})) 908 bz2.BZ2File = self.fake_open 914 self.assertEqual(self.fake_open.invocation_count, 1) 915 self.assertEqual(self.fake_open.last_invocation, (("test.bz2", 4), {})) 927 original_open = self.replace_builtin_open(self.fake_open) 933 self.assertEqual(self.fake_open.invocation_count, 1) 934 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,
|