mirror of
https://github.com/status-im/PyGithub.git
synced 2026-08-31 19:01:15 +00:00
13 lines
481 B
Python
13 lines
481 B
Python
import Framework
|
|
|
|
class Issue33( Framework.TestCase ): # https://github.com/jacquev6/PyGithub/issues/33
|
|
def setUp( self ):
|
|
Framework.TestCase.setUp( self )
|
|
self.repo = self.g.get_user( "openframeworks" ).get_repo( "openFrameworks" )
|
|
|
|
def testOpenIssues( self ):
|
|
self.assertEqual( len( list( self.repo.get_issues() ) ), 338 )
|
|
|
|
def testClosedIssues( self ):
|
|
self.assertEqual( len( list( self.repo.get_issues( state = "closed" ) ) ), 950 )
|