{"action":"created","comment":{"url":"https://api.github.com/repos/matrix-org/matrix-python-sdk/pulls/comments/88813922","pull_request_review_id":9375213,"id":88813922,"diff_hunk":"@@ -0,0 +1,65 @@\n+import responses\n+from matrix_client import client\n+\n+\n+class TestTagsApi:\n+    cli = client.MatrixClient(\"http://example.com\")\n+    user_id = \"@user:matrix.org\"\n+    room_id = \"#foo:matrix.org\"\n+\n+    @responses.activate\n+    def test_get_user_tags(self):\n+","path":"test/api_test.py","position":12,"original_position":12,"commit_id":"d2fa3af1a9b31c951ab37fcfd4a8c2f1e28b30b5","original_commit_id":"d2fa3af1a9b31c951ab37fcfd4a8c2f1e28b30b5","user":{"login":"Half-Shot","id":2072976,"avatar_url":"https://avatars.githubusercontent.com/u/2072976?v=3","gravatar_id":"","url":"https://api.github.com/users/Half-Shot","html_url":"https://github.com/Half-Shot","followers_url":"https://api.github.com/users/Half-Shot/followers","following_url":"https://api.github.com/users/Half-Shot/following{/other_user}","gists_url":"https://api.github.com/users/Half-Shot/gists{/gist_id}","starred_url":"https://api.github.com/users/Half-Shot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Half-Shot/subscriptions","organizations_url":"https://api.github.com/users/Half-Shot/orgs","repos_url":"https://api.github.com/users/Half-Shot/repos","events_url":"https://api.github.com/users/Half-Shot/events{/privacy}","received_events_url":"https://api.github.com/users/Half-Shot/received_events","type":"User","site_admin":false},"body":"Mystery newline :fearful: ","created_at":"2016-11-20T22:44:27Z","updated_at":"2016-11-20T22:44:27Z","html_url":"https://github.com/matrix-org/matrix-python-sdk/pull/63#discussion_r88813922","pull_request_url":"https://api.github.com/repos/matrix-org/matrix-python-sdk/pulls/63","_links":{"self":{"href":"https://api.github.com/repos/matrix-org/matrix-python-sdk/pulls/comments/88813922"},"html":{"href":"https://github.com/matrix-org/matrix-python-sdk/pull/63#discussion_r88813922"},"pull_request":{"href":"https://api.github.com/repos/matrix-org/matrix-python-sdk/pulls/63"}}},"pull_request":{"url":"https://api.github.com/repos/matrix-org/matrix-python-sdk/pulls/63","id":90460618,"html_url":"https://github.com/matrix-org/matrix-python-sdk/pull/63","diff_url":"https://github.com/matrix-org/matrix-python-sdk/pull/63.diff","patch_url":"https://github.com/matrix-org/matrix-python-sdk/pull/63.patch","issue_url":"https://api.github.com/repos/matrix-org/matrix-python-sdk/issues/63","number":63,"state":"open","locked":false,"title":"Add api tests for tags and account_data ","user":{"login":"pik","id":10236920,"avatar_url":"https://avatars.githubusercontent.com/u/10236920?v=3","gravatar_id":"","url":"https://api.github.com/users/pik","html_url":"https://github.com/pik","followers_url":"https://api.github.com/users/pik/followers","following_url":"https://api.github.com/users/pik/following{/other_user}","gists_url":"https://api.github.com/users/pik/gists{/gist_id}","starred_url":"https://api.github.com/users/pik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pik/subscriptions","organizations_url":"https://api.github.com/users/pik/orgs","repos_url":"https://api.github.com/users/pik/repos","events_url":"https://api.github.com/users/pik/events{/privacy}","received_events_url":"https://api.github.com/users/pik/received_events","type":"User","site_admin":false},"body":"@Half-Shot I added `responses` as a dep but if you have a preferred library / configuration for mocking requests in tests I will be happy to switch to that. \n","created_at":"2016-10-21T23:48:13Z","updated_at":"2016-11-20T22:44:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ad95a11c0c47307299efb103f71775e98dfbe8ea","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/matrix-org/matrix-python-sdk/pulls/63/commits","review_comments_url":"https://api.github.com/repos/matrix-org/matrix-python-sdk/pulls/63/comments","review_comment_url":"https://api.github.com/repos/matrix-org/matrix-python-sdk/pulls/comments{/number}","comments_url":"https://api.github.com/repos/matrix-org/matrix-python-sdk/issues/63/comments","statuses_url":"https://api.github.com/repos/matrix-org/matrix-python-sdk/statuses/d2fa3af1a9b31c951ab37fcfd4a8c2f1e28b30b5","head":{"label":"pik:some-api-tests","ref":"some-api-tests","sha":"d2fa3af1a9b31c951ab37fcfd4a8c2f1e28b30b5","user":{"login":"pik","id":10236920,"avatar_url":"https://avatars.githubusercontent.com/u/10236920?v=3","gravatar_id":"","url":"https://api.github.com/users/pik","html_url":"https://github.com/pik","followers_url":"https://api.github.com/users/pik/followers","following_url":"https://api.github.com/users/pik/following{/other_user}","gists_url":"https://api.github.com/users/pik/gists{/gist_id}","starred_url":"https://api.github.com/users/pik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pik/subscriptions","organizations_url":"https://api.github.com/users/pik/orgs","repos_url":"https://api.github.com/users/pik/repos","events_url":"https://api.github.com/users/pik/events{/privacy}","received_events_url":"https://api.github.com/users/pik/received_events","type":"User","site_admin":false},"repo":{"id":70921263,"name":"matrix-python-sdk","full_name":"pik/matrix-python-sdk","owner":{"login":"pik","id":10236920,"avatar_url":"https://avatars.githubusercontent.com/u/10236920?v=3","gravatar_id":"","url":"https://api.github.com/users/pik","html_url":"https://github.com/pik","followers_url":"https://api.github.com/users/pik/followers","following_url":"https://api.github.com/users/pik/following{/other_user}","gists_url":"https://api.github.com/users/pik/gists{/gist_id}","starred_url":"https://api.github.com/users/pik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pik/subscriptions","organizations_url":"https://api.github.com/users/pik/orgs","repos_url":"https://api.github.com/users/pik/repos","events_url":"https://api.github.com/users/pik/events{/privacy}","received_events_url":"https://api.github.com/users/pik/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pik/matrix-python-sdk","description":"Matrix Client-Server SDK for Python 2 and 3","fork":true,"url":"https://api.github.com/repos/pik/matrix-python-sdk","forks_url":"https://api.github.com/repos/pik/matrix-python-sdk/forks","keys_url":"https://api.github.com/repos/pik/matrix-python-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pik/matrix-python-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pik/matrix-python-sdk/teams","hooks_url":"https://api.github.com/repos/pik/matrix-python-sdk/hooks","issue_events_url":"https://api.github.com/repos/pik/matrix-python-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/pik/matrix-python-sdk/events","assignees_url":"https://api.github.com/repos/pik/matrix-python-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/pik/matrix-python-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/pik/matrix-python-sdk/tags","blobs_url":"https://api.github.com/repos/pik/matrix-python-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pik/matrix-python-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pik/matrix-python-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/pik/matrix-python-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pik/matrix-python-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/pik/matrix-python-sdk/languages","stargazers_url":"https://api.github.com/repos/pik/matrix-python-sdk/stargazers","contributors_url":"https://api.github.com/repos/pik/matrix-python-sdk/contributors","subscribers_url":"https://api.github.com/repos/pik/matrix-python-sdk/subscribers","subscription_url":"https://api.github.com/repos/pik/matrix-python-sdk/subscription","commits_url":"https://api.github.com/repos/pik/matrix-python-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/pik/matrix-python-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/pik/matrix-python-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/pik/matrix-python-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/pik/matrix-python-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/pik/matrix-python-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pik/matrix-python-sdk/merges","archive_url":"https://api.github.com/repos/pik/matrix-python-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pik/matrix-python-sdk/downloads","issues_url":"https://api.github.com/repos/pik/matrix-python-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/pik/matrix-python-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/pik/matrix-python-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/pik/matrix-python-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pik/matrix-python-sdk/labels{/name}","releases_url":"https://api.github.com/repos/pik/matrix-python-sdk/releases{/id}","deployments_url":"https://api.github.com/repos/pik/matrix-python-sdk/deployments","created_at":"2016-10-14T15:09:16Z","updated_at":"2016-10-14T15:09:22Z","pushed_at":"2016-10-21T23:53:37Z","git_url":"git://github.com/pik/matrix-python-sdk.git","ssh_url":"git@github.com:pik/matrix-python-sdk.git","clone_url":"https://github.com/pik/matrix-python-sdk.git","svn_url":"https://github.com/pik/matrix-python-sdk","homepage":"","size":144,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"matrix-org:master","ref":"master","sha":"02de7d31ac3ad83c7e0d961ce8c47ece62d18c4d","user":{"login":"matrix-org","id":8418310,"avatar_url":"https://avatars.githubusercontent.com/u/8418310?v=3","gravatar_id":"","url":"https://api.github.com/users/matrix-org","html_url":"https://github.com/matrix-org","followers_url":"https://api.github.com/users/matrix-org/followers","following_url":"https://api.github.com/users/matrix-org/following{/other_user}","gists_url":"https://api.github.com/users/matrix-org/gists{/gist_id}","starred_url":"https://api.github.com/users/matrix-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matrix-org/subscriptions","organizations_url":"https://api.github.com/users/matrix-org/orgs","repos_url":"https://api.github.com/users/matrix-org/repos","events_url":"https://api.github.com/users/matrix-org/events{/privacy}","received_events_url":"https://api.github.com/users/matrix-org/received_events","type":"Organization","site_admin":false},"repo":{"id":28855778,"name":"matrix-python-sdk","full_name":"matrix-org/matrix-python-sdk","owner":{"login":"matrix-org","id":8418310,"avatar_url":"https://avatars.githubusercontent.com/u/8418310?v=3","gravatar_id":"","url":"https://api.github.com/users/matrix-org","html_url":"https://github.com/matrix-org","followers_url":"https://api.github.com/users/matrix-org/followers","following_url":"https://api.github.com/users/matrix-org/following{/other_user}","gists_url":"https://api.github.com/users/matrix-org/gists{/gist_id}","starred_url":"https://api.github.com/users/matrix-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matrix-org/subscriptions","organizations_url":"https://api.github.com/users/matrix-org/orgs","repos_url":"https://api.github.com/users/matrix-org/repos","events_url":"https://api.github.com/users/matrix-org/events{/privacy}","received_events_url":"https://api.github.com/users/matrix-org/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/matrix-org/matrix-python-sdk","description":"Matrix Client-Server SDK for Python 2 and 3","fork":false,"url":"https://api.github.com/repos/matrix-org/matrix-python-sdk","forks_url":"https://api.github.com/repos/matrix-org/matrix-python-sdk/forks","keys_url":"https://api.github.com/repos/matrix-org/matrix-python-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/matrix-org/matrix-python-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/matrix-org/matrix-python-sdk/teams","hooks_url":"https://api.github.com/repos/matrix-org/matrix-python-sdk/hooks","issue_events_url":"https://api.github.com/repos/matrix-org/matrix-python-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/matrix-org/matrix-python-sdk/events","assignees_url":"https://api.github.com/repos/matrix-org/matrix-python-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/matrix-org/matrix-python-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/matrix-org/matrix-python-sdk/tags","blobs_url":"https://api.github.com/repos/matrix-org/matrix-python-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/matrix-org/matrix-python-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/matrix-org/matrix-python-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/matrix-org/matrix-python-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/matrix-org/matrix-python-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/matrix-org/matrix-python-sdk/languages","stargazers_url":"https://api.github.com/repos/matrix-org/matrix-python-sdk/stargazers","contributors_url":"https://api.github.com/repos/matrix-org/matrix-python-sdk/contributors","subscribers_url":"https://api.github.com/repos/matrix-org/matrix-python-sdk/subscribers","subscription_url":"https://api.github.com/repos/matrix-org/matrix-python-sdk/subscription","commits_url":"https://api.github.com/repos/matrix-org/matrix-python-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/matrix-org/matrix-python-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/matrix-org/matrix-python-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/matrix-org/matrix-python-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/matrix-org/matrix-python-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/matrix-org/matrix-python-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/matrix-org/matrix-python-sdk/merges","archive_url":"https://api.github.com/repos/matrix-org/matrix-python-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/matrix-org/matrix-python-sdk/downloads","issues_url":"https://api.github.com/repos/matrix-org/matrix-python-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/matrix-org/matrix-python-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/matrix-org/matrix-python-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/matrix-org/matrix-python-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/matrix-org/matrix-python-sdk/labels{/name}","releases_url":"https://api.github.com/repos/matrix-org/matrix-python-sdk/releases{/id}","deployments_url":"https://api.github.com/repos/matrix-org/matrix-python-sdk/deployments","created_at":"2015-01-06T09:17:45Z","updated_at":"2016-10-31T16:46:52Z","pushed_at":"2016-11-20T03:49:35Z","git_url":"git://github.com/matrix-org/matrix-python-sdk.git","ssh_url":"git@github.com:matrix-org/matrix-python-sdk.git","clone_url":"https://github.com/matrix-org/matrix-python-sdk.git","svn_url":"https://github.com/matrix-org/matrix-python-sdk","homepage":"","size":1012,"stargazers_count":31,"watchers_count":31,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":23,"mirror_url":null,"open_issues_count":9,"forks":23,"open_issues":9,"watchers":31,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/matrix-org/matrix-python-sdk/pulls/63"},"html":{"href":"https://github.com/matrix-org/matrix-python-sdk/pull/63"},"issue":{"href":"https://api.github.com/repos/matrix-org/matrix-python-sdk/issues/63"},"comments":{"href":"https://api.github.com/repos/matrix-org/matrix-python-sdk/issues/63/comments"},"review_comments":{"href":"https://api.github.com/repos/matrix-org/matrix-python-sdk/pulls/63/comments"},"review_comment":{"href":"https://api.github.com/repos/matrix-org/matrix-python-sdk/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/matrix-org/matrix-python-sdk/pulls/63/commits"},"statuses":{"href":"https://api.github.com/repos/matrix-org/matrix-python-sdk/statuses/d2fa3af1a9b31c951ab37fcfd4a8c2f1e28b30b5"}}}}
{"actor":{"display_login":"Half-Shot"}}