def setUp(self):
self.patcher_post = mock.patch('<STR_LIT>', fake_requests_post)<EOL>self.patcher_get = mock.patch('<STR_LIT>', fake_requests_get)<EOL>self.patcher_post.start()<EOL>self.patcher_get.start()<EOL>import diffbot<EOL>self.module = imp.reload(diffbot)<EOL>
Set up a mock patcher.