{"action":"created","comment":{"url":"https://api.github.com/repos/erjanmx/salam-bot/pulls/comments/122746525","pull_request_review_id":44889190,"id":122746525,"diff_hunk":"@@ -0,0 +1,76 @@\n+import unittest\r\n+from src.models.model import db\r\n+from src.models.user import User\r\n+from src.models.user_friend import UserFriend\r\n+from database.factories.model_factory import factory\r\n+\r\n+\r\n+class UserTest(unittest.TestCase):\r","path":"tests/test_user.py","position":8,"original_position":8,"commit_id":"adf8acece3ada3fb03df8343fa661db97ec29b97","original_commit_id":"adf8acece3ada3fb03df8343fa661db97ec29b97","user":{"login":"erjanmx","id":4899432,"avatar_url":"https://avatars3.githubusercontent.com/u/4899432?v=3","gravatar_id":"","url":"https://api.github.com/users/erjanmx","html_url":"https://github.com/erjanmx","followers_url":"https://api.github.com/users/erjanmx/followers","following_url":"https://api.github.com/users/erjanmx/following{/other_user}","gists_url":"https://api.github.com/users/erjanmx/gists{/gist_id}","starred_url":"https://api.github.com/users/erjanmx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erjanmx/subscriptions","organizations_url":"https://api.github.com/users/erjanmx/orgs","repos_url":"https://api.github.com/users/erjanmx/repos","events_url":"https://api.github.com/users/erjanmx/events{/privacy}","received_events_url":"https://api.github.com/users/erjanmx/received_events","type":"User","site_admin":false},"body":"rename\r\n","created_at":"2017-06-19T15:49:15Z","updated_at":"2017-06-19T15:49:15Z","html_url":"https://github.com/erjanmx/salam-bot/pull/4#discussion_r122746525","pull_request_url":"https://api.github.com/repos/erjanmx/salam-bot/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/erjanmx/salam-bot/pulls/comments/122746525"},"html":{"href":"https://github.com/erjanmx/salam-bot/pull/4#discussion_r122746525"},"pull_request":{"href":"https://api.github.com/repos/erjanmx/salam-bot/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/erjanmx/salam-bot/pulls/4","id":126294916,"html_url":"https://github.com/erjanmx/salam-bot/pull/4","diff_url":"https://github.com/erjanmx/salam-bot/pull/4.diff","patch_url":"https://github.com/erjanmx/salam-bot/pull/4.patch","issue_url":"https://api.github.com/repos/erjanmx/salam-bot/issues/4","number":4,"state":"open","locked":false,"title":"Tests","user":{"login":"erjanmx","id":4899432,"avatar_url":"https://avatars3.githubusercontent.com/u/4899432?v=3","gravatar_id":"","url":"https://api.github.com/users/erjanmx","html_url":"https://github.com/erjanmx","followers_url":"https://api.github.com/users/erjanmx/followers","following_url":"https://api.github.com/users/erjanmx/following{/other_user}","gists_url":"https://api.github.com/users/erjanmx/gists{/gist_id}","starred_url":"https://api.github.com/users/erjanmx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erjanmx/subscriptions","organizations_url":"https://api.github.com/users/erjanmx/orgs","repos_url":"https://api.github.com/users/erjanmx/repos","events_url":"https://api.github.com/users/erjanmx/events{/privacy}","received_events_url":"https://api.github.com/users/erjanmx/received_events","type":"User","site_admin":false},"body":"WIP Issue #2 ","created_at":"2017-06-19T12:49:44Z","updated_at":"2017-06-19T15:49:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a197798cd90d16a66362d2b9fd6163e82eed3717","assignee":{"login":"erjanmx","id":4899432,"avatar_url":"https://avatars3.githubusercontent.com/u/4899432?v=3","gravatar_id":"","url":"https://api.github.com/users/erjanmx","html_url":"https://github.com/erjanmx","followers_url":"https://api.github.com/users/erjanmx/followers","following_url":"https://api.github.com/users/erjanmx/following{/other_user}","gists_url":"https://api.github.com/users/erjanmx/gists{/gist_id}","starred_url":"https://api.github.com/users/erjanmx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erjanmx/subscriptions","organizations_url":"https://api.github.com/users/erjanmx/orgs","repos_url":"https://api.github.com/users/erjanmx/repos","events_url":"https://api.github.com/users/erjanmx/events{/privacy}","received_events_url":"https://api.github.com/users/erjanmx/received_events","type":"User","site_admin":false},"assignees":[{"login":"erjanmx","id":4899432,"avatar_url":"https://avatars3.githubusercontent.com/u/4899432?v=3","gravatar_id":"","url":"https://api.github.com/users/erjanmx","html_url":"https://github.com/erjanmx","followers_url":"https://api.github.com/users/erjanmx/followers","following_url":"https://api.github.com/users/erjanmx/following{/other_user}","gists_url":"https://api.github.com/users/erjanmx/gists{/gist_id}","starred_url":"https://api.github.com/users/erjanmx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erjanmx/subscriptions","organizations_url":"https://api.github.com/users/erjanmx/orgs","repos_url":"https://api.github.com/users/erjanmx/repos","events_url":"https://api.github.com/users/erjanmx/events{/privacy}","received_events_url":"https://api.github.com/users/erjanmx/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/erjanmx/salam-bot/pulls/4/commits","review_comments_url":"https://api.github.com/repos/erjanmx/salam-bot/pulls/4/comments","review_comment_url":"https://api.github.com/repos/erjanmx/salam-bot/pulls/comments{/number}","comments_url":"https://api.github.com/repos/erjanmx/salam-bot/issues/4/comments","statuses_url":"https://api.github.com/repos/erjanmx/salam-bot/statuses/adf8acece3ada3fb03df8343fa661db97ec29b97","head":{"label":"erjanmx:tests","ref":"tests","sha":"adf8acece3ada3fb03df8343fa661db97ec29b97","user":{"login":"erjanmx","id":4899432,"avatar_url":"https://avatars3.githubusercontent.com/u/4899432?v=3","gravatar_id":"","url":"https://api.github.com/users/erjanmx","html_url":"https://github.com/erjanmx","followers_url":"https://api.github.com/users/erjanmx/followers","following_url":"https://api.github.com/users/erjanmx/following{/other_user}","gists_url":"https://api.github.com/users/erjanmx/gists{/gist_id}","starred_url":"https://api.github.com/users/erjanmx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erjanmx/subscriptions","organizations_url":"https://api.github.com/users/erjanmx/orgs","repos_url":"https://api.github.com/users/erjanmx/repos","events_url":"https://api.github.com/users/erjanmx/events{/privacy}","received_events_url":"https://api.github.com/users/erjanmx/received_events","type":"User","site_admin":false},"repo":{"id":94657831,"name":"salam-bot","full_name":"erjanmx/salam-bot","owner":{"login":"erjanmx","id":4899432,"avatar_url":"https://avatars3.githubusercontent.com/u/4899432?v=3","gravatar_id":"","url":"https://api.github.com/users/erjanmx","html_url":"https://github.com/erjanmx","followers_url":"https://api.github.com/users/erjanmx/followers","following_url":"https://api.github.com/users/erjanmx/following{/other_user}","gists_url":"https://api.github.com/users/erjanmx/gists{/gist_id}","starred_url":"https://api.github.com/users/erjanmx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erjanmx/subscriptions","organizations_url":"https://api.github.com/users/erjanmx/orgs","repos_url":"https://api.github.com/users/erjanmx/repos","events_url":"https://api.github.com/users/erjanmx/events{/privacy}","received_events_url":"https://api.github.com/users/erjanmx/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/erjanmx/salam-bot","description":null,"fork":false,"url":"https://api.github.com/repos/erjanmx/salam-bot","forks_url":"https://api.github.com/repos/erjanmx/salam-bot/forks","keys_url":"https://api.github.com/repos/erjanmx/salam-bot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/erjanmx/salam-bot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/erjanmx/salam-bot/teams","hooks_url":"https://api.github.com/repos/erjanmx/salam-bot/hooks","issue_events_url":"https://api.github.com/repos/erjanmx/salam-bot/issues/events{/number}","events_url":"https://api.github.com/repos/erjanmx/salam-bot/events","assignees_url":"https://api.github.com/repos/erjanmx/salam-bot/assignees{/user}","branches_url":"https://api.github.com/repos/erjanmx/salam-bot/branches{/branch}","tags_url":"https://api.github.com/repos/erjanmx/salam-bot/tags","blobs_url":"https://api.github.com/repos/erjanmx/salam-bot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/erjanmx/salam-bot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/erjanmx/salam-bot/git/refs{/sha}","trees_url":"https://api.github.com/repos/erjanmx/salam-bot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/erjanmx/salam-bot/statuses/{sha}","languages_url":"https://api.github.com/repos/erjanmx/salam-bot/languages","stargazers_url":"https://api.github.com/repos/erjanmx/salam-bot/stargazers","contributors_url":"https://api.github.com/repos/erjanmx/salam-bot/contributors","subscribers_url":"https://api.github.com/repos/erjanmx/salam-bot/subscribers","subscription_url":"https://api.github.com/repos/erjanmx/salam-bot/subscription","commits_url":"https://api.github.com/repos/erjanmx/salam-bot/commits{/sha}","git_commits_url":"https://api.github.com/repos/erjanmx/salam-bot/git/commits{/sha}","comments_url":"https://api.github.com/repos/erjanmx/salam-bot/comments{/number}","issue_comment_url":"https://api.github.com/repos/erjanmx/salam-bot/issues/comments{/number}","contents_url":"https://api.github.com/repos/erjanmx/salam-bot/contents/{+path}","compare_url":"https://api.github.com/repos/erjanmx/salam-bot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/erjanmx/salam-bot/merges","archive_url":"https://api.github.com/repos/erjanmx/salam-bot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/erjanmx/salam-bot/downloads","issues_url":"https://api.github.com/repos/erjanmx/salam-bot/issues{/number}","pulls_url":"https://api.github.com/repos/erjanmx/salam-bot/pulls{/number}","milestones_url":"https://api.github.com/repos/erjanmx/salam-bot/milestones{/number}","notifications_url":"https://api.github.com/repos/erjanmx/salam-bot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/erjanmx/salam-bot/labels{/name}","releases_url":"https://api.github.com/repos/erjanmx/salam-bot/releases{/id}","deployments_url":"https://api.github.com/repos/erjanmx/salam-bot/deployments","created_at":"2017-06-18T01:13:38Z","updated_at":"2017-06-18T01:20:14Z","pushed_at":"2017-06-19T15:46:29Z","git_url":"git://github.com/erjanmx/salam-bot.git","ssh_url":"git@github.com:erjanmx/salam-bot.git","clone_url":"https://github.com/erjanmx/salam-bot.git","svn_url":"https://github.com/erjanmx/salam-bot","homepage":null,"size":19,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"erjanmx:master","ref":"master","sha":"6f96a04035b3b53cdb87f1b018df14a60c5338f8","user":{"login":"erjanmx","id":4899432,"avatar_url":"https://avatars3.githubusercontent.com/u/4899432?v=3","gravatar_id":"","url":"https://api.github.com/users/erjanmx","html_url":"https://github.com/erjanmx","followers_url":"https://api.github.com/users/erjanmx/followers","following_url":"https://api.github.com/users/erjanmx/following{/other_user}","gists_url":"https://api.github.com/users/erjanmx/gists{/gist_id}","starred_url":"https://api.github.com/users/erjanmx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erjanmx/subscriptions","organizations_url":"https://api.github.com/users/erjanmx/orgs","repos_url":"https://api.github.com/users/erjanmx/repos","events_url":"https://api.github.com/users/erjanmx/events{/privacy}","received_events_url":"https://api.github.com/users/erjanmx/received_events","type":"User","site_admin":false},"repo":{"id":94657831,"name":"salam-bot","full_name":"erjanmx/salam-bot","owner":{"login":"erjanmx","id":4899432,"avatar_url":"https://avatars3.githubusercontent.com/u/4899432?v=3","gravatar_id":"","url":"https://api.github.com/users/erjanmx","html_url":"https://github.com/erjanmx","followers_url":"https://api.github.com/users/erjanmx/followers","following_url":"https://api.github.com/users/erjanmx/following{/other_user}","gists_url":"https://api.github.com/users/erjanmx/gists{/gist_id}","starred_url":"https://api.github.com/users/erjanmx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erjanmx/subscriptions","organizations_url":"https://api.github.com/users/erjanmx/orgs","repos_url":"https://api.github.com/users/erjanmx/repos","events_url":"https://api.github.com/users/erjanmx/events{/privacy}","received_events_url":"https://api.github.com/users/erjanmx/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/erjanmx/salam-bot","description":null,"fork":false,"url":"https://api.github.com/repos/erjanmx/salam-bot","forks_url":"https://api.github.com/repos/erjanmx/salam-bot/forks","keys_url":"https://api.github.com/repos/erjanmx/salam-bot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/erjanmx/salam-bot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/erjanmx/salam-bot/teams","hooks_url":"https://api.github.com/repos/erjanmx/salam-bot/hooks","issue_events_url":"https://api.github.com/repos/erjanmx/salam-bot/issues/events{/number}","events_url":"https://api.github.com/repos/erjanmx/salam-bot/events","assignees_url":"https://api.github.com/repos/erjanmx/salam-bot/assignees{/user}","branches_url":"https://api.github.com/repos/erjanmx/salam-bot/branches{/branch}","tags_url":"https://api.github.com/repos/erjanmx/salam-bot/tags","blobs_url":"https://api.github.com/repos/erjanmx/salam-bot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/erjanmx/salam-bot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/erjanmx/salam-bot/git/refs{/sha}","trees_url":"https://api.github.com/repos/erjanmx/salam-bot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/erjanmx/salam-bot/statuses/{sha}","languages_url":"https://api.github.com/repos/erjanmx/salam-bot/languages","stargazers_url":"https://api.github.com/repos/erjanmx/salam-bot/stargazers","contributors_url":"https://api.github.com/repos/erjanmx/salam-bot/contributors","subscribers_url":"https://api.github.com/repos/erjanmx/salam-bot/subscribers","subscription_url":"https://api.github.com/repos/erjanmx/salam-bot/subscription","commits_url":"https://api.github.com/repos/erjanmx/salam-bot/commits{/sha}","git_commits_url":"https://api.github.com/repos/erjanmx/salam-bot/git/commits{/sha}","comments_url":"https://api.github.com/repos/erjanmx/salam-bot/comments{/number}","issue_comment_url":"https://api.github.com/repos/erjanmx/salam-bot/issues/comments{/number}","contents_url":"https://api.github.com/repos/erjanmx/salam-bot/contents/{+path}","compare_url":"https://api.github.com/repos/erjanmx/salam-bot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/erjanmx/salam-bot/merges","archive_url":"https://api.github.com/repos/erjanmx/salam-bot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/erjanmx/salam-bot/downloads","issues_url":"https://api.github.com/repos/erjanmx/salam-bot/issues{/number}","pulls_url":"https://api.github.com/repos/erjanmx/salam-bot/pulls{/number}","milestones_url":"https://api.github.com/repos/erjanmx/salam-bot/milestones{/number}","notifications_url":"https://api.github.com/repos/erjanmx/salam-bot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/erjanmx/salam-bot/labels{/name}","releases_url":"https://api.github.com/repos/erjanmx/salam-bot/releases{/id}","deployments_url":"https://api.github.com/repos/erjanmx/salam-bot/deployments","created_at":"2017-06-18T01:13:38Z","updated_at":"2017-06-18T01:20:14Z","pushed_at":"2017-06-19T15:46:29Z","git_url":"git://github.com/erjanmx/salam-bot.git","ssh_url":"git@github.com:erjanmx/salam-bot.git","clone_url":"https://github.com/erjanmx/salam-bot.git","svn_url":"https://github.com/erjanmx/salam-bot","homepage":null,"size":19,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/erjanmx/salam-bot/pulls/4"},"html":{"href":"https://github.com/erjanmx/salam-bot/pull/4"},"issue":{"href":"https://api.github.com/repos/erjanmx/salam-bot/issues/4"},"comments":{"href":"https://api.github.com/repos/erjanmx/salam-bot/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/erjanmx/salam-bot/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/erjanmx/salam-bot/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/erjanmx/salam-bot/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/erjanmx/salam-bot/statuses/adf8acece3ada3fb03df8343fa661db97ec29b97"}}}}
{"actor":{"display_login":"erjanmx"}}