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 9358f8b commit f2f0cdfCopy full SHA for f2f0cdf
tests/test_unit.py
@@ -5,6 +5,8 @@
5
import sys
6
import unittest
7
8
+from nose.tools import assert_equals
9
+
10
from github2.issues import Issue
11
from github2.client import Github
12
@@ -49,3 +51,9 @@ def test_delays(self):
49
51
self.assertTrue(delta_seconds >= 2,
50
52
"Expected .5 reqs per second to require a 2 second delay between "
53
"calls.")
54
55
56
+def test_project_for_user_repo():
57
+ client = Github()
58
+ assert_equals(client.project_for_user_repo('JNRowe', 'misc-overlay'),
59
+ 'JNRowe/misc-overlay')
0 commit comments