def METHOD_NAME(self):
    patcher = mock.patch.object(
        github_helpers.Client, "__init__", lambda self, parsed_args: None
    )
    self.addCleanup(patcher.stop)
    patcher.start()
    self.client = github_helpers.Client(None)