Searched refs:create_mock (Results 1 – 5 of 5) sorted by relevance
53 def create_mock(self, *names, return_=None): member in ImportlibUseCache66 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:
1857 m = self.create_mock()1860 def create_mock(self): member in MagicProxy1870 return self.create_mock()
1918 m = self.create_mock()1921 def create_mock(self): member in MagicProxy1931 return self.create_mock()
2064 def create_mock(self): member in MagicProxy2074 return self.create_mock()
2108 def create_mock(self): member in MagicProxy2118 return self.create_mock()