We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e8c387 commit b09d887Copy full SHA for b09d887
1 file changed
tests/unit/test_users.py
@@ -94,6 +94,17 @@ def test_keys(self):
94
headers={}
95
)
96
97
+ def test_organizations(self):
98
+ """Test the request to retrieve the orgs a user belongs to."""
99
+ i = self.instance.organizations()
100
+ self.get_next(i)
101
+
102
+ self.session.get.assert_called_once_with(
103
+ url_for('orgs'),
104
+ params={'per_page': 100},
105
+ headers={}
106
+ )
107
108
def test_starred_repositories(self):
109
"""Test the request to retrieve a user's starred repos."""
110
i = self.instance.starred_repositories()
0 commit comments