mirror of
https://github.com/status-im/PyGithub.git
synced 2026-09-02 11:51:10 +00:00
Repository.get_readme and Repository.get_contents (issue #65)
This commit is contained in:
@@ -356,3 +356,7 @@ class Repository( Framework.TestCase ):
|
||||
self.assertListKeyEqual( self.repo.get_assignees(), lambda u: u.login, [ "jacquev6", "Lyloa" ] )
|
||||
self.repo.remove_from_collaborators( lyloa )
|
||||
self.assertFalse( self.repo.has_in_assignees( lyloa ) )
|
||||
|
||||
def testGetContents( self ):
|
||||
self.assertEqual( len( self.repo.get_readme().content ), 10212 )
|
||||
self.assertEqual( len( self.repo.get_contents( "doc/ReferenceOfClasses.md" ).content ), 38121 )
|
||||
|
||||
Reference in New Issue
Block a user