def __init__(self, methodName='runTest'): super(TestPullCommand, self).__init__(methodName) self.number = 13 self.pull = github3.pulls.PullRequest(self.json('pull')) self.command = PullCommand() self.command.repository = ('sigmavirus24', 'github3.py') self.opts = self.command.parser.parse_args([]) self.command.repo = github3.repos.Repository(self.json('repo'))