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:
1918 m = self.create_mock()1921 def create_mock(self): member in MagicProxy1931 return self.create_mock()
1857 m = self.create_mock()1860 def create_mock(self): member in MagicProxy1870 return self.create_mock()
1923 m = self.create_mock()1926 def create_mock(self): member in MagicProxy1936 return self.create_mock()
2031 m = self.create_mock()2034 def create_mock(self): member in MagicProxy2044 return self.create_mock()