{"action":"created","comment":{"url":"https://api.github.com/repos/Scandie/ProtossOP/pulls/comments/55861519","id":55861519,"diff_hunk":"@@ -0,0 +1,37 @@\n+from mock import Mock\n+from decorators import memo\n+from unittest import TestCase\n+\n+\n+class DecoratorsTestCase(TestCase):\n+\n+    def test_wrap_memo(self):\n+\n+        func = Mock(name='func')\n+        func.return_value = 42","path":"HM4/decors-test.py","position":11,"original_position":11,"commit_id":"b5972633d08065d777a6eca2dcdc51898fbe5208","original_commit_id":"b5972633d08065d777a6eca2dcdc51898fbe5208","user":{"login":"wolendranh","id":6746231,"avatar_url":"https://avatars.githubusercontent.com/u/6746231?v=3","gravatar_id":"","url":"https://api.github.com/users/wolendranh","html_url":"https://github.com/wolendranh","followers_url":"https://api.github.com/users/wolendranh/followers","following_url":"https://api.github.com/users/wolendranh/following{/other_user}","gists_url":"https://api.github.com/users/wolendranh/gists{/gist_id}","starred_url":"https://api.github.com/users/wolendranh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wolendranh/subscriptions","organizations_url":"https://api.github.com/users/wolendranh/orgs","repos_url":"https://api.github.com/users/wolendranh/repos","events_url":"https://api.github.com/users/wolendranh/events{/privacy}","received_events_url":"https://api.github.com/users/wolendranh/received_events","type":"User","site_admin":false},"body":"solution, from previous comment:\r\n`func.__name__ = 'my_func`'","created_at":"2016-03-11T17:37:47Z","updated_at":"2016-03-11T17:37:47Z","html_url":"https://github.com/Scandie/ProtossOP/pull/3#discussion_r55861519","pull_request_url":"https://api.github.com/repos/Scandie/ProtossOP/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/Scandie/ProtossOP/pulls/comments/55861519"},"html":{"href":"https://github.com/Scandie/ProtossOP/pull/3#discussion_r55861519"},"pull_request":{"href":"https://api.github.com/repos/Scandie/ProtossOP/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/Scandie/ProtossOP/pulls/3","id":62160958,"html_url":"https://github.com/Scandie/ProtossOP/pull/3","diff_url":"https://github.com/Scandie/ProtossOP/pull/3.diff","patch_url":"https://github.com/Scandie/ProtossOP/pull/3.patch","issue_url":"https://api.github.com/repos/Scandie/ProtossOP/issues/3","number":3,"state":"open","locked":false,"title":"Develop","user":{"login":"Scandie","id":4282281,"avatar_url":"https://avatars.githubusercontent.com/u/4282281?v=3","gravatar_id":"","url":"https://api.github.com/users/Scandie","html_url":"https://github.com/Scandie","followers_url":"https://api.github.com/users/Scandie/followers","following_url":"https://api.github.com/users/Scandie/following{/other_user}","gists_url":"https://api.github.com/users/Scandie/gists{/gist_id}","starred_url":"https://api.github.com/users/Scandie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Scandie/subscriptions","organizations_url":"https://api.github.com/users/Scandie/orgs","repos_url":"https://api.github.com/users/Scandie/repos","events_url":"https://api.github.com/users/Scandie/events{/privacy}","received_events_url":"https://api.github.com/users/Scandie/received_events","type":"User","site_admin":false},"body":"Stable branch with homework 4","created_at":"2016-03-09T00:26:07Z","updated_at":"2016-03-11T17:37:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1e13a22592c87c3f2c30cd01d91462dcc1affe93","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Scandie/ProtossOP/pulls/3/commits","review_comments_url":"https://api.github.com/repos/Scandie/ProtossOP/pulls/3/comments","review_comment_url":"https://api.github.com/repos/Scandie/ProtossOP/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Scandie/ProtossOP/issues/3/comments","statuses_url":"https://api.github.com/repos/Scandie/ProtossOP/statuses/b5972633d08065d777a6eca2dcdc51898fbe5208","head":{"label":"Scandie:develop","ref":"develop","sha":"b5972633d08065d777a6eca2dcdc51898fbe5208","user":{"login":"Scandie","id":4282281,"avatar_url":"https://avatars.githubusercontent.com/u/4282281?v=3","gravatar_id":"","url":"https://api.github.com/users/Scandie","html_url":"https://github.com/Scandie","followers_url":"https://api.github.com/users/Scandie/followers","following_url":"https://api.github.com/users/Scandie/following{/other_user}","gists_url":"https://api.github.com/users/Scandie/gists{/gist_id}","starred_url":"https://api.github.com/users/Scandie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Scandie/subscriptions","organizations_url":"https://api.github.com/users/Scandie/orgs","repos_url":"https://api.github.com/users/Scandie/repos","events_url":"https://api.github.com/users/Scandie/events{/privacy}","received_events_url":"https://api.github.com/users/Scandie/received_events","type":"User","site_admin":false},"repo":{"id":47128902,"name":"ProtossOP","full_name":"Scandie/ProtossOP","owner":{"login":"Scandie","id":4282281,"avatar_url":"https://avatars.githubusercontent.com/u/4282281?v=3","gravatar_id":"","url":"https://api.github.com/users/Scandie","html_url":"https://github.com/Scandie","followers_url":"https://api.github.com/users/Scandie/followers","following_url":"https://api.github.com/users/Scandie/following{/other_user}","gists_url":"https://api.github.com/users/Scandie/gists{/gist_id}","starred_url":"https://api.github.com/users/Scandie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Scandie/subscriptions","organizations_url":"https://api.github.com/users/Scandie/orgs","repos_url":"https://api.github.com/users/Scandie/repos","events_url":"https://api.github.com/users/Scandie/events{/privacy}","received_events_url":"https://api.github.com/users/Scandie/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Scandie/ProtossOP","description":"","fork":false,"url":"https://api.github.com/repos/Scandie/ProtossOP","forks_url":"https://api.github.com/repos/Scandie/ProtossOP/forks","keys_url":"https://api.github.com/repos/Scandie/ProtossOP/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Scandie/ProtossOP/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Scandie/ProtossOP/teams","hooks_url":"https://api.github.com/repos/Scandie/ProtossOP/hooks","issue_events_url":"https://api.github.com/repos/Scandie/ProtossOP/issues/events{/number}","events_url":"https://api.github.com/repos/Scandie/ProtossOP/events","assignees_url":"https://api.github.com/repos/Scandie/ProtossOP/assignees{/user}","branches_url":"https://api.github.com/repos/Scandie/ProtossOP/branches{/branch}","tags_url":"https://api.github.com/repos/Scandie/ProtossOP/tags","blobs_url":"https://api.github.com/repos/Scandie/ProtossOP/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Scandie/ProtossOP/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Scandie/ProtossOP/git/refs{/sha}","trees_url":"https://api.github.com/repos/Scandie/ProtossOP/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Scandie/ProtossOP/statuses/{sha}","languages_url":"https://api.github.com/repos/Scandie/ProtossOP/languages","stargazers_url":"https://api.github.com/repos/Scandie/ProtossOP/stargazers","contributors_url":"https://api.github.com/repos/Scandie/ProtossOP/contributors","subscribers_url":"https://api.github.com/repos/Scandie/ProtossOP/subscribers","subscription_url":"https://api.github.com/repos/Scandie/ProtossOP/subscription","commits_url":"https://api.github.com/repos/Scandie/ProtossOP/commits{/sha}","git_commits_url":"https://api.github.com/repos/Scandie/ProtossOP/git/commits{/sha}","comments_url":"https://api.github.com/repos/Scandie/ProtossOP/comments{/number}","issue_comment_url":"https://api.github.com/repos/Scandie/ProtossOP/issues/comments{/number}","contents_url":"https://api.github.com/repos/Scandie/ProtossOP/contents/{+path}","compare_url":"https://api.github.com/repos/Scandie/ProtossOP/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Scandie/ProtossOP/merges","archive_url":"https://api.github.com/repos/Scandie/ProtossOP/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Scandie/ProtossOP/downloads","issues_url":"https://api.github.com/repos/Scandie/ProtossOP/issues{/number}","pulls_url":"https://api.github.com/repos/Scandie/ProtossOP/pulls{/number}","milestones_url":"https://api.github.com/repos/Scandie/ProtossOP/milestones{/number}","notifications_url":"https://api.github.com/repos/Scandie/ProtossOP/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Scandie/ProtossOP/labels{/name}","releases_url":"https://api.github.com/repos/Scandie/ProtossOP/releases{/id}","deployments_url":"https://api.github.com/repos/Scandie/ProtossOP/deployments","created_at":"2015-11-30T15:45:51Z","updated_at":"2016-01-18T22:57:49Z","pushed_at":"2016-03-11T08:42:25Z","git_url":"git://github.com/Scandie/ProtossOP.git","ssh_url":"git@github.com:Scandie/ProtossOP.git","clone_url":"https://github.com/Scandie/ProtossOP.git","svn_url":"https://github.com/Scandie/ProtossOP","homepage":null,"size":28,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"Scandie:master","ref":"master","sha":"011dbf166d25c7bf0f12f0c07976aeb91d50de21","user":{"login":"Scandie","id":4282281,"avatar_url":"https://avatars.githubusercontent.com/u/4282281?v=3","gravatar_id":"","url":"https://api.github.com/users/Scandie","html_url":"https://github.com/Scandie","followers_url":"https://api.github.com/users/Scandie/followers","following_url":"https://api.github.com/users/Scandie/following{/other_user}","gists_url":"https://api.github.com/users/Scandie/gists{/gist_id}","starred_url":"https://api.github.com/users/Scandie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Scandie/subscriptions","organizations_url":"https://api.github.com/users/Scandie/orgs","repos_url":"https://api.github.com/users/Scandie/repos","events_url":"https://api.github.com/users/Scandie/events{/privacy}","received_events_url":"https://api.github.com/users/Scandie/received_events","type":"User","site_admin":false},"repo":{"id":47128902,"name":"ProtossOP","full_name":"Scandie/ProtossOP","owner":{"login":"Scandie","id":4282281,"avatar_url":"https://avatars.githubusercontent.com/u/4282281?v=3","gravatar_id":"","url":"https://api.github.com/users/Scandie","html_url":"https://github.com/Scandie","followers_url":"https://api.github.com/users/Scandie/followers","following_url":"https://api.github.com/users/Scandie/following{/other_user}","gists_url":"https://api.github.com/users/Scandie/gists{/gist_id}","starred_url":"https://api.github.com/users/Scandie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Scandie/subscriptions","organizations_url":"https://api.github.com/users/Scandie/orgs","repos_url":"https://api.github.com/users/Scandie/repos","events_url":"https://api.github.com/users/Scandie/events{/privacy}","received_events_url":"https://api.github.com/users/Scandie/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Scandie/ProtossOP","description":"","fork":false,"url":"https://api.github.com/repos/Scandie/ProtossOP","forks_url":"https://api.github.com/repos/Scandie/ProtossOP/forks","keys_url":"https://api.github.com/repos/Scandie/ProtossOP/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Scandie/ProtossOP/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Scandie/ProtossOP/teams","hooks_url":"https://api.github.com/repos/Scandie/ProtossOP/hooks","issue_events_url":"https://api.github.com/repos/Scandie/ProtossOP/issues/events{/number}","events_url":"https://api.github.com/repos/Scandie/ProtossOP/events","assignees_url":"https://api.github.com/repos/Scandie/ProtossOP/assignees{/user}","branches_url":"https://api.github.com/repos/Scandie/ProtossOP/branches{/branch}","tags_url":"https://api.github.com/repos/Scandie/ProtossOP/tags","blobs_url":"https://api.github.com/repos/Scandie/ProtossOP/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Scandie/ProtossOP/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Scandie/ProtossOP/git/refs{/sha}","trees_url":"https://api.github.com/repos/Scandie/ProtossOP/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Scandie/ProtossOP/statuses/{sha}","languages_url":"https://api.github.com/repos/Scandie/ProtossOP/languages","stargazers_url":"https://api.github.com/repos/Scandie/ProtossOP/stargazers","contributors_url":"https://api.github.com/repos/Scandie/ProtossOP/contributors","subscribers_url":"https://api.github.com/repos/Scandie/ProtossOP/subscribers","subscription_url":"https://api.github.com/repos/Scandie/ProtossOP/subscription","commits_url":"https://api.github.com/repos/Scandie/ProtossOP/commits{/sha}","git_commits_url":"https://api.github.com/repos/Scandie/ProtossOP/git/commits{/sha}","comments_url":"https://api.github.com/repos/Scandie/ProtossOP/comments{/number}","issue_comment_url":"https://api.github.com/repos/Scandie/ProtossOP/issues/comments{/number}","contents_url":"https://api.github.com/repos/Scandie/ProtossOP/contents/{+path}","compare_url":"https://api.github.com/repos/Scandie/ProtossOP/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Scandie/ProtossOP/merges","archive_url":"https://api.github.com/repos/Scandie/ProtossOP/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Scandie/ProtossOP/downloads","issues_url":"https://api.github.com/repos/Scandie/ProtossOP/issues{/number}","pulls_url":"https://api.github.com/repos/Scandie/ProtossOP/pulls{/number}","milestones_url":"https://api.github.com/repos/Scandie/ProtossOP/milestones{/number}","notifications_url":"https://api.github.com/repos/Scandie/ProtossOP/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Scandie/ProtossOP/labels{/name}","releases_url":"https://api.github.com/repos/Scandie/ProtossOP/releases{/id}","deployments_url":"https://api.github.com/repos/Scandie/ProtossOP/deployments","created_at":"2015-11-30T15:45:51Z","updated_at":"2016-01-18T22:57:49Z","pushed_at":"2016-03-11T08:42:25Z","git_url":"git://github.com/Scandie/ProtossOP.git","ssh_url":"git@github.com:Scandie/ProtossOP.git","clone_url":"https://github.com/Scandie/ProtossOP.git","svn_url":"https://github.com/Scandie/ProtossOP","homepage":null,"size":28,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Scandie/ProtossOP/pulls/3"},"html":{"href":"https://github.com/Scandie/ProtossOP/pull/3"},"issue":{"href":"https://api.github.com/repos/Scandie/ProtossOP/issues/3"},"comments":{"href":"https://api.github.com/repos/Scandie/ProtossOP/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/Scandie/ProtossOP/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/Scandie/ProtossOP/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Scandie/ProtossOP/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/Scandie/ProtossOP/statuses/b5972633d08065d777a6eca2dcdc51898fbe5208"}}}}