Home
last modified time | relevance | path

Searched refs:create_mock (Results 1 – 5 of 5) sorted by relevance

/external/python/cpython3/Lib/test/test_importlib/import_/
Dtest_caching.py53 def create_mock(self, *names, return_=None): member in ImportlibUseCache
66 with self.create_mock('module') as mock:
74 with self.create_mock('pkg.__init__', 'pkg.module') as importer:
84 with self.create_mock('pkg.__init__', 'pkg.module') as importer:
/external/pdfium/third_party/pymock/
Dmock.py1918 m = self.create_mock()
1921 def create_mock(self): member in MagicProxy
1931 return self.create_mock()
/external/python/cpython2/Lib/test/
D_mock_backport.py1857 m = self.create_mock()
1860 def create_mock(self): member in MagicProxy
1870 return self.create_mock()
/external/python/cpython3/Lib/unittest/
Dmock.py1923 m = self.create_mock()
1926 def create_mock(self): member in MagicProxy
1936 return self.create_mock()
/external/python/mock/mock/
Dmock.py2031 m = self.create_mock()
2034 def create_mock(self): member in MagicProxy
2044 return self.create_mock()