Home | History | Annotate | Download | only in testmock

Lines Matching full:patcher

58         patcher = patch('%s.X' % __name__, spec=True)
59 mock = patcher.start()
60 self.addCleanup(patcher.stop)
70 patcher = patch('%s.X' % __name__, spec_set=True)
71 mock = patcher.start()
72 self.addCleanup(patcher.stop)
82 patcher = patch('%s.X' % __name__, spec=X())
83 mock = patcher.start()
84 self.addCleanup(patcher.stop)
91 patcher = patch('%s.X' % __name__, spec_set=X())
92 mock = patcher.start()
93 self.addCleanup(patcher.stop)