File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -494,6 +494,9 @@ def test_iter_repos(self):
494
494
expect (next (self .g .iter_repos ())).isinstance (github3 .repos .Repository )
495
495
self .mock_assertions ()
496
496
497
+ next (self .g .iter_repos (type = 'baz' , direction = 'foobar' ))
498
+ self .mock_assertions ()
499
+
497
500
self .conf .update (params = {'type' : 'all' , 'direction' : 'desc' })
498
501
499
502
next (self .g .iter_repos (type = 'all' , direction = 'desc' ))
@@ -504,6 +507,9 @@ def test_iter_repos(self):
504
507
next (self .g .iter_repos (type = 'all' , direction = 'foobar' ))
505
508
self .mock_assertions ()
506
509
510
+ next (self .g .iter_repos (type = 'all' , sort = 'foobar' ))
511
+ self .mock_assertions ()
512
+
507
513
def test_iter_user_repos (self ):
508
514
self .response ('repo' , _iter = True )
509
515
self .get ('https://api.github.com/users/sigmavirus24/repos' )
You can’t perform that action at this time.
0 commit comments