mirror of
https://github.com/status-im/PyGithub.git
synced 2026-09-02 03:41:08 +00:00
Add 4 (failing) tests for legacy search API (issue #49)
Naïve implementation done in this commit will not work: - pagination is managed another way - users, repositories and issues do not have the standard format
This commit is contained in:
@@ -332,3 +332,6 @@ class Repository( Framework.TestCase ):
|
||||
|
||||
def testGetPullsWithArguments( self ):
|
||||
self.assertListKeyEqual( self.repo.get_pulls( "closed" ), lambda p: p.id, [ 1448168, 1436310, 1436215 ] )
|
||||
|
||||
def testSearchIssues( self ):
|
||||
self.assertListKeyEqual( self.repo.search_issues( "open", "search" ), lambda i: i.title, [ "Support new Search API" ] )
|
||||
|
||||
Reference in New Issue
Block a user