8000 Merge pull request #476 from itsmemattchung/migrate-tests/gists · sigmavirus24/github3.py@0632f6a · GitHub
[go: up one dir, main page]

Skip to content

Commit 0632f6a

Browse files
committed
Merge pull request #476 from itsmemattchung/migrate-tests/gists
Deleted tests/gists.py after moving to tests/unit/test_gists
2 parents 247f30e + 34f9462 commit 0632f6a

File tree

6 files changed

+233
-75
lines changed

6 files changed

+233
-75
lines changed

tests/json/gist_comment

Lines changed: 0 additions & 1 deletion
This file was deleted.

tests/json/gist_history

Lines changed: 0 additions & 1 deletion
This file was deleted.

tests/test_gists.py

Lines changed: 0 additions & 73 deletions
This file was deleted.

tests/unit/gist_comment_example_data

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"body": "I was using curl, but this is awesome, too :)\r\n\r\n`curl -u <username> -XDELETE https://api.github.com/gists/<gist_id>/comments/<comment_id>`",
3+
"created_at": "2012-12-17T19:56:05Z",
4+
"id": 655725,
5+
"updated_at": "2012-12-17T19:56:05Z",
6+
"url": "https://api.github.com/gists/4321394/comments/655725",
7+
"user": {
8+
"avatar_url": "https://secure.gravatar.com/avatar/d57aec10399cbb252bd890c2bb3fe1c9?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png",
9+
"events_url": "https://api.github.com/users/bradmontgomery/events{/privacy}",
10+
"followers_url": "https://api.github.com/users/bradmontgomery/followers",
11+
"following_url": "https://api.github.com/users/bradmontgomery/following{/other_user}",
12+
"gists_url": "https://api.github.com/users/bradmontgomery/gists{/gist_id}",
13+
"gravatar_id": "d57aec10399cbb252bd890c2bb3fe1c9",
14+
"html_url": "https://github.com/bradmontgomery",
15+
"id": 103113,
16+
"login": "bradmontgomery",
17+
"organizations_url": "https://api.github.com/users/bradmontgomery/orgs",
18+
"received_events_url": "https://api.github.com/users/bradmontgomery/received_events",
19+
"repos_url": "https://api.github.com/users/bradmontgomery/repos",
20+
"starred_url": "https://api.github.com/users/bradmontgomery/starred{/owner}{/repo}",
21+
"subscriptions_url": "https://api.github.com/users/bradmontgomery/subscriptions",
22+
"type": "User",
23+
"url": "https://api.github.com/users/bradmontgomery"
24+
}
25+
}

0 commit comments

Comments
 (0)
0