{"action":"created","comment":{"url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/pulls/comments/37854981","id":37854981,"diff_hunk":"@@ -1,16 +1,9 @@\n-from contextlib import contextmanager\n from flask import url_for\n from flask.ext.testing import TestCase\n from project import create_app as app_factory\n from project.extensions import db\n from project.fixtures import load_fixtures\n-\n-\n-@contextmanager\n-def disable_csrf(app):\n-    app.config['WTF_CSRF_ENABLED'] = False\n-    yield\n-    app.config['WTF_CSRF_ENABLED'] = True\n+from project.lib.context_managers import disable_csrf","path":"project/tests/utils.py","position":14,"original_position":14,"commit_id":"737be125c4da7ca88cdba5d4172d43f4baf5056b","original_commit_id":"737be125c4da7ca88cdba5d4172d43f4baf5056b","user":{"login":"Orhideous","id":2265184,"avatar_url":"https://avatars.githubusercontent.com/u/2265184?v=3","gravatar_id":"","url":"https://api.github.com/users/Orhideous","html_url":"https://github.com/Orhideous","followers_url":"https://api.github.com/users/Orhideous/followers","following_url":"https://api.github.com/users/Orhideous/following{/other_user}","gists_url":"https://api.github.com/users/Orhideous/gists{/gist_id}","starred_url":"https://api.github.com/users/Orhideous/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Orhideous/subscriptions","organizations_url":"https://api.github.com/users/Orhideous/orgs","repos_url":"https://api.github.com/users/Orhideous/repos","events_url":"https://api.github.com/users/Orhideous/events{/privacy}","received_events_url":"https://api.github.com/users/Orhideous/received_events","type":"User","site_admin":false},"body":"Зачем?","created_at":"2015-08-25T11:32:51Z","updated_at":"2015-08-25T11:32:51Z","html_url":"https://github.com/uaprom-summer-2015/Meowth/pull/196#discussion_r37854981","pull_request_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/pulls/196","_links":{"self":{"href":"https://api.github.com/repos/uaprom-summer-2015/Meowth/pulls/comments/37854981"},"html":{"href":"https://github.com/uaprom-summer-2015/Meowth/pull/196#discussion_r37854981"},"pull_request":{"href":"https://api.github.com/repos/uaprom-summer-2015/Meowth/pulls/196"}}},"pull_request":{"url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/pulls/196","id":43274066,"html_url":"https://github.com/uaprom-summer-2015/Meowth/pull/196","diff_url":"https://github.com/uaprom-summer-2015/Meowth/pull/196.diff","patch_url":"https://github.com/uaprom-summer-2015/Meowth/pull/196.patch","issue_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/issues/196","number":196,"state":"open","locked":false,"title":"manager createsuperuser","user":{"login":"akhalyavka","id":13165979,"avatar_url":"https://avatars.githubusercontent.com/u/13165979?v=3","gravatar_id":"","url":"https://api.github.com/users/akhalyavka","html_url":"https://github.com/akhalyavka","followers_url":"https://api.github.com/users/akhalyavka/followers","following_url":"https://api.github.com/users/akhalyavka/following{/other_user}","gists_url":"https://api.github.com/users/akhalyavka/gists{/gist_id}","starred_url":"https://api.github.com/users/akhalyavka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akhalyavka/subscriptions","organizations_url":"https://api.github.com/users/akhalyavka/orgs","repos_url":"https://api.github.com/users/akhalyavka/repos","events_url":"https://api.github.com/users/akhalyavka/events{/privacy}","received_events_url":"https://api.github.com/users/akhalyavka/received_events","type":"User","site_admin":false},"body":"sorry for wrong commit names","created_at":"2015-08-25T11:20:04Z","updated_at":"2015-08-25T11:32:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"823e19a3aa92871ed90c1e966fc808e020922520","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/pulls/196/commits","review_comments_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/pulls/196/comments","review_comment_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/pulls/comments{/number}","comments_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/issues/196/comments","statuses_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/statuses/737be125c4da7ca88cdba5d4172d43f4baf5056b","head":{"label":"akhalyavka:master","ref":"master","sha":"737be125c4da7ca88cdba5d4172d43f4baf5056b","user":{"login":"akhalyavka","id":13165979,"avatar_url":"https://avatars.githubusercontent.com/u/13165979?v=3","gravatar_id":"","url":"https://api.github.com/users/akhalyavka","html_url":"https://github.com/akhalyavka","followers_url":"https://api.github.com/users/akhalyavka/followers","following_url":"https://api.github.com/users/akhalyavka/following{/other_user}","gists_url":"https://api.github.com/users/akhalyavka/gists{/gist_id}","starred_url":"https://api.github.com/users/akhalyavka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akhalyavka/subscriptions","organizations_url":"https://api.github.com/users/akhalyavka/orgs","repos_url":"https://api.github.com/users/akhalyavka/repos","events_url":"https://api.github.com/users/akhalyavka/events{/privacy}","received_events_url":"https://api.github.com/users/akhalyavka/received_events","type":"User","site_admin":false},"repo":{"id":38847700,"name":"Meowth","full_name":"akhalyavka/Meowth","owner":{"login":"akhalyavka","id":13165979,"avatar_url":"https://avatars.githubusercontent.com/u/13165979?v=3","gravatar_id":"","url":"https://api.github.com/users/akhalyavka","html_url":"https://github.com/akhalyavka","followers_url":"https://api.github.com/users/akhalyavka/followers","following_url":"https://api.github.com/users/akhalyavka/following{/other_user}","gists_url":"https://api.github.com/users/akhalyavka/gists{/gist_id}","starred_url":"https://api.github.com/users/akhalyavka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akhalyavka/subscriptions","organizations_url":"https://api.github.com/users/akhalyavka/orgs","repos_url":"https://api.github.com/users/akhalyavka/repos","events_url":"https://api.github.com/users/akhalyavka/events{/privacy}","received_events_url":"https://api.github.com/users/akhalyavka/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/akhalyavka/Meowth","description":"uaprom hr portal","fork":true,"url":"https://api.github.com/repos/akhalyavka/Meowth","forks_url":"https://api.github.com/repos/akhalyavka/Meowth/forks","keys_url":"https://api.github.com/repos/akhalyavka/Meowth/keys{/key_id}","collaborators_url":"https://api.github.com/repos/akhalyavka/Meowth/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/akhalyavka/Meowth/teams","hooks_url":"https://api.github.com/repos/akhalyavka/Meowth/hooks","issue_events_url":"https://api.github.com/repos/akhalyavka/Meowth/issues/events{/number}","events_url":"https://api.github.com/repos/akhalyavka/Meowth/events","assignees_url":"https://api.github.com/repos/akhalyavka/Meowth/assignees{/user}","branches_url":"https://api.github.com/repos/akhalyavka/Meowth/branches{/branch}","tags_url":"https://api.github.com/repos/akhalyavka/Meowth/tags","blobs_url":"https://api.github.com/repos/akhalyavka/Meowth/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/akhalyavka/Meowth/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/akhalyavka/Meowth/git/refs{/sha}","trees_url":"https://api.github.com/repos/akhalyavka/Meowth/git/trees{/sha}","statuses_url":"https://api.github.com/repos/akhalyavka/Meowth/statuses/{sha}","languages_url":"https://api.github.com/repos/akhalyavka/Meowth/languages","stargazers_url":"https://api.github.com/repos/akhalyavka/Meowth/stargazers","contributors_url":"https://api.github.com/repos/akhalyavka/Meowth/contributors","subscribers_url":"https://api.github.com/repos/akhalyavka/Meowth/subscribers","subscription_url":"https://api.github.com/repos/akhalyavka/Meowth/subscription","commits_url":"https://api.github.com/repos/akhalyavka/Meowth/commits{/sha}","git_commits_url":"https://api.github.com/repos/akhalyavka/Meowth/git/commits{/sha}","comments_url":"https://api.github.com/repos/akhalyavka/Meowth/comments{/number}","issue_comment_url":"https://api.github.com/repos/akhalyavka/Meowth/issues/comments{/number}","contents_url":"https://api.github.com/repos/akhalyavka/Meowth/contents/{+path}","compare_url":"https://api.github.com/repos/akhalyavka/Meowth/compare/{base}...{head}","merges_url":"https://api.github.com/repos/akhalyavka/Meowth/merges","archive_url":"https://api.github.com/repos/akhalyavka/Meowth/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/akhalyavka/Meowth/downloads","issues_url":"https://api.github.com/repos/akhalyavka/Meowth/issues{/number}","pulls_url":"https://api.github.com/repos/akhalyavka/Meowth/pulls{/number}","milestones_url":"https://api.github.com/repos/akhalyavka/Meowth/milestones{/number}","notifications_url":"https://api.github.com/repos/akhalyavka/Meowth/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/akhalyavka/Meowth/labels{/name}","releases_url":"https://api.github.com/repos/akhalyavka/Meowth/releases{/id}","created_at":"2015-07-09T22:05:06Z","updated_at":"2015-08-18T22:30:40Z","pushed_at":"2015-08-25T11:15:51Z","git_url":"git://github.com/akhalyavka/Meowth.git","ssh_url":"git@github.com:akhalyavka/Meowth.git","clone_url":"https://github.com/akhalyavka/Meowth.git","svn_url":"https://github.com/akhalyavka/Meowth","homepage":"","size":7768,"stargazers_count":0,"watchers_count":0,"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":0,"default_branch":"master"}},"base":{"label":"uaprom-summer-2015:master","ref":"master","sha":"ca6286d2cbc1aca646f1e3c730089854d83a9803","user":{"login":"uaprom-summer-2015","id":13165943,"avatar_url":"https://avatars.githubusercontent.com/u/13165943?v=3","gravatar_id":"","url":"https://api.github.com/users/uaprom-summer-2015","html_url":"https://github.com/uaprom-summer-2015","followers_url":"https://api.github.com/users/uaprom-summer-2015/followers","following_url":"https://api.github.com/users/uaprom-summer-2015/following{/other_user}","gists_url":"https://api.github.com/users/uaprom-summer-2015/gists{/gist_id}","starred_url":"https://api.github.com/users/uaprom-summer-2015/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uaprom-summer-2015/subscriptions","organizations_url":"https://api.github.com/users/uaprom-summer-2015/orgs","repos_url":"https://api.github.com/users/uaprom-summer-2015/repos","events_url":"https://api.github.com/users/uaprom-summer-2015/events{/privacy}","received_events_url":"https://api.github.com/users/uaprom-summer-2015/received_events","type":"Organization","site_admin":false},"repo":{"id":38690649,"name":"Meowth","full_name":"uaprom-summer-2015/Meowth","owner":{"login":"uaprom-summer-2015","id":13165943,"avatar_url":"https://avatars.githubusercontent.com/u/13165943?v=3","gravatar_id":"","url":"https://api.github.com/users/uaprom-summer-2015","html_url":"https://github.com/uaprom-summer-2015","followers_url":"https://api.github.com/users/uaprom-summer-2015/followers","following_url":"https://api.github.com/users/uaprom-summer-2015/following{/other_user}","gists_url":"https://api.github.com/users/uaprom-summer-2015/gists{/gist_id}","starred_url":"https://api.github.com/users/uaprom-summer-2015/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uaprom-summer-2015/subscriptions","organizations_url":"https://api.github.com/users/uaprom-summer-2015/orgs","repos_url":"https://api.github.com/users/uaprom-summer-2015/repos","events_url":"https://api.github.com/users/uaprom-summer-2015/events{/privacy}","received_events_url":"https://api.github.com/users/uaprom-summer-2015/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/uaprom-summer-2015/Meowth","description":"HR portal developed by interns during summer internship at prom.ua","fork":false,"url":"https://api.github.com/repos/uaprom-summer-2015/Meowth","forks_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/forks","keys_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/keys{/key_id}","collaborators_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/teams","hooks_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/hooks","issue_events_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/issues/events{/number}","events_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/events","assignees_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/assignees{/user}","branches_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/branches{/branch}","tags_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/tags","blobs_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/git/refs{/sha}","trees_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/git/trees{/sha}","statuses_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/statuses/{sha}","languages_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/languages","stargazers_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/stargazers","contributors_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/contributors","subscribers_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/subscribers","subscription_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/subscription","commits_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/commits{/sha}","git_commits_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/git/commits{/sha}","comments_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/comments{/number}","issue_comment_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/issues/comments{/number}","contents_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/contents/{+path}","compare_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/compare/{base}...{head}","merges_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/merges","archive_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/downloads","issues_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/issues{/number}","pulls_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/pulls{/number}","milestones_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/milestones{/number}","notifications_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/labels{/name}","releases_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/releases{/id}","created_at":"2015-07-07T13:49:41Z","updated_at":"2015-08-20T14:34:22Z","pushed_at":"2015-08-25T11:20:05Z","git_url":"git://github.com/uaprom-summer-2015/Meowth.git","ssh_url":"git@github.com:uaprom-summer-2015/Meowth.git","clone_url":"https://github.com/uaprom-summer-2015/Meowth.git","svn_url":"https://github.com/uaprom-summer-2015/Meowth","homepage":"","size":9334,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":14,"forks":2,"open_issues":14,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/uaprom-summer-2015/Meowth/pulls/196"},"html":{"href":"https://github.com/uaprom-summer-2015/Meowth/pull/196"},"issue":{"href":"https://api.github.com/repos/uaprom-summer-2015/Meowth/issues/196"},"comments":{"href":"https://api.github.com/repos/uaprom-summer-2015/Meowth/issues/196/comments"},"review_comments":{"href":"https://api.github.com/repos/uaprom-summer-2015/Meowth/pulls/196/comments"},"review_comment":{"href":"https://api.github.com/repos/uaprom-summer-2015/Meowth/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/uaprom-summer-2015/Meowth/pulls/196/commits"},"statuses":{"href":"https://api.github.com/repos/uaprom-summer-2015/Meowth/statuses/737be125c4da7ca88cdba5d4172d43f4baf5056b"}}}}