Beispiel #1
0
 def __init__(self, methodName='runTest'):
     super(TestIssueLsCommand, self).__init__(methodName)
     self.issue = github3.issues.Issue(self.json('issue'))
     self.command = IssueLsCommand()
     self.command.repository = ('sigmavirus24', 'github3.py')
     self.opts, _ = self.command.parser.parse_args([])
     self.command.repo = github3.repos.Repository(self.json('issue'))