aboutsummaryrefslogtreecommitdiffstats
path: root/github3/tests/fixtures.py
diff options
context:
space:
mode:
authorDavid Medina <davidmedina9@gmail.com>2011-11-17 00:17:48 +0100
committerDavid Medina <davidmedina9@gmail.com>2011-11-17 00:19:01 +0100
commit357985782664eba287e73e5bbbb28c1884adccea (patch)
tree4f33e4e377998e51704f02fc72b8013ab113030a /github3/tests/fixtures.py
parentDel authors on code. Delegate it to AUTHORS ;) (diff)
downloadpython-github3-357985782664eba287e73e5bbbb28c1884adccea.tar.xz
python-github3-357985782664eba287e73e5bbbb28c1884adccea.zip
Complete AuthUser handler test
Update code putting tests in green
Diffstat (limited to 'github3/tests/fixtures.py')
-rw-r--r--github3/tests/fixtures.py13
1 files changed, 11 insertions, 2 deletions
diff --git a/github3/tests/fixtures.py b/github3/tests/fixtures.py
index 5f56753..ff5179c 100644
--- a/github3/tests/fixtures.py
+++ b/github3/tests/fixtures.py
@@ -23,8 +23,8 @@ GET_USER = {
"type": "User"
}
-GET_LINK = '<https://api.github.com/gists/public?page=2>; rel="next", \
-<https://api.github.com/gists/public?page=5>; rel="last"'
+GET_LINK = '<https://api.github.com/it_doesnt_matter?page=2>; rel="next", \
+<https://api.github.com/it_doesnt_matter?page=5>; rel="last"'
GET_RESOURCES = [
{'login': 'octocat'},
@@ -153,3 +153,12 @@ GET_USER_EMAILS = [
"octocat@github.com",
"support@github.com"
]
+
+GET_USER_KEYS = [
+ {
+ "url": "https://api.github.com/user/keys/1",
+ "id": 1,
+ "title": "octocat@octomac",
+ "key": "ssh-rsa AAA..."
+ }
+]