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 756458d commit c6fa68aCopy full SHA for c6fa68a
tests/test_user.py
@@ -49,6 +49,13 @@ def test_private_data(self):
49
assert_equals(user.owned_private_repo_count, 0)
50
assert_equals(user.private_gist_count, 7)
51
52
+ def test_plan_data(self):
53
+ user = self.client.users.show('fake_jnrowe_with_auth')
54
+ assert_equals(user.plan['name'], "free")
55
+ assert_equals(user.plan['collaborators'], 0)
56
+ assert_equals(user.plan['space'], 307200)
57
+ assert_equals(user.plan['private_repos'], 0)
58
+
59
60
class UserQueries(utils.HttpMockTestCase):
61
"""Test user querying """
0 commit comments