{"action":"created","comment":{"url":"https://api.github.com/repos/fidals/refarm-blog/pulls/comments/60728725","id":60728725,"diff_hunk":"@@ -0,0 +1,66 @@\n+\"\"\"\n+Defines tests for views in Catalog app\n+\"\"\"\n+\n+from django.test import TestCase\n+from blog.models import Page\n+from django.core.urlresolvers import reverse\n+from django.conf import settings\n+\n+\n+class ViewsTests(TestCase):\n+\n+    urls = 'tests.urls'\n+\n+    def setUp(self):\n+        \"\"\"\n+        Defines testing data.\n+        Mock config and tree pages with different types\n+        \"\"\"\n+        settings.APP_BLOG_PAGE_TYPES = {","path":"tests/tests_urls.py","position":20,"original_position":20,"commit_id":"13e7afa6036f44b193dd13528c1f943b504b9691","original_commit_id":"13e7afa6036f44b193dd13528c1f943b504b9691","user":{"login":"begor","id":10001148,"avatar_url":"https://avatars.githubusercontent.com/u/10001148?v=3","gravatar_id":"","url":"https://api.github.com/users/begor","html_url":"https://github.com/begor","followers_url":"https://api.github.com/users/begor/followers","following_url":"https://api.github.com/users/begor/following{/other_user}","gists_url":"https://api.github.com/users/begor/gists{/gist_id}","starred_url":"https://api.github.com/users/begor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/begor/subscriptions","organizations_url":"https://api.github.com/users/begor/orgs","repos_url":"https://api.github.com/users/begor/repos","events_url":"https://api.github.com/users/begor/events{/privacy}","received_events_url":"https://api.github.com/users/begor/received_events","type":"User","site_admin":false},"body":"@duker33 да, а точнее `settings.APP_BLOG_PAGE_TYPES `.","created_at":"2016-04-22T12:08:16Z","updated_at":"2016-04-22T12:08:16Z","html_url":"https://github.com/fidals/refarm-blog/pull/2#discussion_r60728725","pull_request_url":"https://api.github.com/repos/fidals/refarm-blog/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/fidals/refarm-blog/pulls/comments/60728725"},"html":{"href":"https://github.com/fidals/refarm-blog/pull/2#discussion_r60728725"},"pull_request":{"href":"https://api.github.com/repos/fidals/refarm-blog/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/fidals/refarm-blog/pulls/2","id":67484719,"html_url":"https://github.com/fidals/refarm-blog/pull/2","diff_url":"https://github.com/fidals/refarm-blog/pull/2.diff","patch_url":"https://github.com/fidals/refarm-blog/pull/2.patch","issue_url":"https://api.github.com/repos/fidals/refarm-blog/issues/2","number":2,"state":"open","locked":false,"title":"blog's initial features","user":{"login":"duker33","id":3526796,"avatar_url":"https://avatars.githubusercontent.com/u/3526796?v=3","gravatar_id":"","url":"https://api.github.com/users/duker33","html_url":"https://github.com/duker33","followers_url":"https://api.github.com/users/duker33/followers","following_url":"https://api.github.com/users/duker33/following{/other_user}","gists_url":"https://api.github.com/users/duker33/gists{/gist_id}","starred_url":"https://api.github.com/users/duker33/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duker33/subscriptions","organizations_url":"https://api.github.com/users/duker33/orgs","repos_url":"https://api.github.com/users/duker33/repos","events_url":"https://api.github.com/users/duker33/events{/privacy}","received_events_url":"https://api.github.com/users/duker33/received_events","type":"User","site_admin":false},"body":"Initial blog's features","created_at":"2016-04-22T09:40:49Z","updated_at":"2016-04-22T12:08:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3ec5baf66204ca9ad0f31235f1218ae3f1a278f2","assignee":{"login":"duker33","id":3526796,"avatar_url":"https://avatars.githubusercontent.com/u/3526796?v=3","gravatar_id":"","url":"https://api.github.com/users/duker33","html_url":"https://github.com/duker33","followers_url":"https://api.github.com/users/duker33/followers","following_url":"https://api.github.com/users/duker33/following{/other_user}","gists_url":"https://api.github.com/users/duker33/gists{/gist_id}","starred_url":"https://api.github.com/users/duker33/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duker33/subscriptions","organizations_url":"https://api.github.com/users/duker33/orgs","repos_url":"https://api.github.com/users/duker33/repos","events_url":"https://api.github.com/users/duker33/events{/privacy}","received_events_url":"https://api.github.com/users/duker33/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/fidals/refarm-blog/pulls/2/commits","review_comments_url":"https://api.github.com/repos/fidals/refarm-blog/pulls/2/comments","review_comment_url":"https://api.github.com/repos/fidals/refarm-blog/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fidals/refarm-blog/issues/2/comments","statuses_url":"https://api.github.com/repos/fidals/refarm-blog/statuses/13e7afa6036f44b193dd13528c1f943b504b9691","head":{"label":"fidals:f-659_blog","ref":"f-659_blog","sha":"13e7afa6036f44b193dd13528c1f943b504b9691","user":{"login":"fidals","id":16228604,"avatar_url":"https://avatars.githubusercontent.com/u/16228604?v=3","gravatar_id":"","url":"https://api.github.com/users/fidals","html_url":"https://github.com/fidals","followers_url":"https://api.github.com/users/fidals/followers","following_url":"https://api.github.com/users/fidals/following{/other_user}","gists_url":"https://api.github.com/users/fidals/gists{/gist_id}","starred_url":"https://api.github.com/users/fidals/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fidals/subscriptions","organizations_url":"https://api.github.com/users/fidals/orgs","repos_url":"https://api.github.com/users/fidals/repos","events_url":"https://api.github.com/users/fidals/events{/privacy}","received_events_url":"https://api.github.com/users/fidals/received_events","type":"Organization","site_admin":false},"repo":{"id":55603017,"name":"refarm-blog","full_name":"fidals/refarm-blog","owner":{"login":"fidals","id":16228604,"avatar_url":"https://avatars.githubusercontent.com/u/16228604?v=3","gravatar_id":"","url":"https://api.github.com/users/fidals","html_url":"https://github.com/fidals","followers_url":"https://api.github.com/users/fidals/followers","following_url":"https://api.github.com/users/fidals/following{/other_user}","gists_url":"https://api.github.com/users/fidals/gists{/gist_id}","starred_url":"https://api.github.com/users/fidals/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fidals/subscriptions","organizations_url":"https://api.github.com/users/fidals/orgs","repos_url":"https://api.github.com/users/fidals/repos","events_url":"https://api.github.com/users/fidals/events{/privacy}","received_events_url":"https://api.github.com/users/fidals/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fidals/refarm-blog","description":"","fork":false,"url":"https://api.github.com/repos/fidals/refarm-blog","forks_url":"https://api.github.com/repos/fidals/refarm-blog/forks","keys_url":"https://api.github.com/repos/fidals/refarm-blog/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fidals/refarm-blog/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fidals/refarm-blog/teams","hooks_url":"https://api.github.com/repos/fidals/refarm-blog/hooks","issue_events_url":"https://api.github.com/repos/fidals/refarm-blog/issues/events{/number}","events_url":"https://api.github.com/repos/fidals/refarm-blog/events","assignees_url":"https://api.github.com/repos/fidals/refarm-blog/assignees{/user}","branches_url":"https://api.github.com/repos/fidals/refarm-blog/branches{/branch}","tags_url":"https://api.github.com/repos/fidals/refarm-blog/tags","blobs_url":"https://api.github.com/repos/fidals/refarm-blog/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fidals/refarm-blog/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fidals/refarm-blog/git/refs{/sha}","trees_url":"https://api.github.com/repos/fidals/refarm-blog/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fidals/refarm-blog/statuses/{sha}","languages_url":"https://api.github.com/repos/fidals/refarm-blog/languages","stargazers_url":"https://api.github.com/repos/fidals/refarm-blog/stargazers","contributors_url":"https://api.github.com/repos/fidals/refarm-blog/contributors","subscribers_url":"https://api.github.com/repos/fidals/refarm-blog/subscribers","subscription_url":"https://api.github.com/repos/fidals/refarm-blog/subscription","commits_url":"https://api.github.com/repos/fidals/refarm-blog/commits{/sha}","git_commits_url":"https://api.github.com/repos/fidals/refarm-blog/git/commits{/sha}","comments_url":"https://api.github.com/repos/fidals/refarm-blog/comments{/number}","issue_comment_url":"https://api.github.com/repos/fidals/refarm-blog/issues/comments{/number}","contents_url":"https://api.github.com/repos/fidals/refarm-blog/contents/{+path}","compare_url":"https://api.github.com/repos/fidals/refarm-blog/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fidals/refarm-blog/merges","archive_url":"https://api.github.com/repos/fidals/refarm-blog/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fidals/refarm-blog/downloads","issues_url":"https://api.github.com/repos/fidals/refarm-blog/issues{/number}","pulls_url":"https://api.github.com/repos/fidals/refarm-blog/pulls{/number}","milestones_url":"https://api.github.com/repos/fidals/refarm-blog/milestones{/number}","notifications_url":"https://api.github.com/repos/fidals/refarm-blog/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fidals/refarm-blog/labels{/name}","releases_url":"https://api.github.com/repos/fidals/refarm-blog/releases{/id}","deployments_url":"https://api.github.com/repos/fidals/refarm-blog/deployments","created_at":"2016-04-06T12:14:48Z","updated_at":"2016-04-20T12:51:41Z","pushed_at":"2016-04-22T09:40:50Z","git_url":"git://github.com/fidals/refarm-blog.git","ssh_url":"git@github.com:fidals/refarm-blog.git","clone_url":"https://github.com/fidals/refarm-blog.git","svn_url":"https://github.com/fidals/refarm-blog","homepage":null,"size":15,"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":"fidals:master","ref":"master","sha":"75088a4cf359d537d9ddbb2c8e16c24ae5196614","user":{"login":"fidals","id":16228604,"avatar_url":"https://avatars.githubusercontent.com/u/16228604?v=3","gravatar_id":"","url":"https://api.github.com/users/fidals","html_url":"https://github.com/fidals","followers_url":"https://api.github.com/users/fidals/followers","following_url":"https://api.github.com/users/fidals/following{/other_user}","gists_url":"https://api.github.com/users/fidals/gists{/gist_id}","starred_url":"https://api.github.com/users/fidals/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fidals/subscriptions","organizations_url":"https://api.github.com/users/fidals/orgs","repos_url":"https://api.github.com/users/fidals/repos","events_url":"https://api.github.com/users/fidals/events{/privacy}","received_events_url":"https://api.github.com/users/fidals/received_events","type":"Organization","site_admin":false},"repo":{"id":55603017,"name":"refarm-blog","full_name":"fidals/refarm-blog","owner":{"login":"fidals","id":16228604,"avatar_url":"https://avatars.githubusercontent.com/u/16228604?v=3","gravatar_id":"","url":"https://api.github.com/users/fidals","html_url":"https://github.com/fidals","followers_url":"https://api.github.com/users/fidals/followers","following_url":"https://api.github.com/users/fidals/following{/other_user}","gists_url":"https://api.github.com/users/fidals/gists{/gist_id}","starred_url":"https://api.github.com/users/fidals/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fidals/subscriptions","organizations_url":"https://api.github.com/users/fidals/orgs","repos_url":"https://api.github.com/users/fidals/repos","events_url":"https://api.github.com/users/fidals/events{/privacy}","received_events_url":"https://api.github.com/users/fidals/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fidals/refarm-blog","description":"","fork":false,"url":"https://api.github.com/repos/fidals/refarm-blog","forks_url":"https://api.github.com/repos/fidals/refarm-blog/forks","keys_url":"https://api.github.com/repos/fidals/refarm-blog/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fidals/refarm-blog/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fidals/refarm-blog/teams","hooks_url":"https://api.github.com/repos/fidals/refarm-blog/hooks","issue_events_url":"https://api.github.com/repos/fidals/refarm-blog/issues/events{/number}","events_url":"https://api.github.com/repos/fidals/refarm-blog/events","assignees_url":"https://api.github.com/repos/fidals/refarm-blog/assignees{/user}","branches_url":"https://api.github.com/repos/fidals/refarm-blog/branches{/branch}","tags_url":"https://api.github.com/repos/fidals/refarm-blog/tags","blobs_url":"https://api.github.com/repos/fidals/refarm-blog/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fidals/refarm-blog/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fidals/refarm-blog/git/refs{/sha}","trees_url":"https://api.github.com/repos/fidals/refarm-blog/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fidals/refarm-blog/statuses/{sha}","languages_url":"https://api.github.com/repos/fidals/refarm-blog/languages","stargazers_url":"https://api.github.com/repos/fidals/refarm-blog/stargazers","contributors_url":"https://api.github.com/repos/fidals/refarm-blog/contributors","subscribers_url":"https://api.github.com/repos/fidals/refarm-blog/subscribers","subscription_url":"https://api.github.com/repos/fidals/refarm-blog/subscription","commits_url":"https://api.github.com/repos/fidals/refarm-blog/commits{/sha}","git_commits_url":"https://api.github.com/repos/fidals/refarm-blog/git/commits{/sha}","comments_url":"https://api.github.com/repos/fidals/refarm-blog/comments{/number}","issue_comment_url":"https://api.github.com/repos/fidals/refarm-blog/issues/comments{/number}","contents_url":"https://api.github.com/repos/fidals/refarm-blog/contents/{+path}","compare_url":"https://api.github.com/repos/fidals/refarm-blog/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fidals/refarm-blog/merges","archive_url":"https://api.github.com/repos/fidals/refarm-blog/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fidals/refarm-blog/downloads","issues_url":"https://api.github.com/repos/fidals/refarm-blog/issues{/number}","pulls_url":"https://api.github.com/repos/fidals/refarm-blog/pulls{/number}","milestones_url":"https://api.github.com/repos/fidals/refarm-blog/milestones{/number}","notifications_url":"https://api.github.com/repos/fidals/refarm-blog/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fidals/refarm-blog/labels{/name}","releases_url":"https://api.github.com/repos/fidals/refarm-blog/releases{/id}","deployments_url":"https://api.github.com/repos/fidals/refarm-blog/deployments","created_at":"2016-04-06T12:14:48Z","updated_at":"2016-04-20T12:51:41Z","pushed_at":"2016-04-22T09:40:50Z","git_url":"git://github.com/fidals/refarm-blog.git","ssh_url":"git@github.com:fidals/refarm-blog.git","clone_url":"https://github.com/fidals/refarm-blog.git","svn_url":"https://github.com/fidals/refarm-blog","homepage":null,"size":15,"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/fidals/refarm-blog/pulls/2"},"html":{"href":"https://github.com/fidals/refarm-blog/pull/2"},"issue":{"href":"https://api.github.com/repos/fidals/refarm-blog/issues/2"},"comments":{"href":"https://api.github.com/repos/fidals/refarm-blog/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/fidals/refarm-blog/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/fidals/refarm-blog/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fidals/refarm-blog/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/fidals/refarm-blog/statuses/13e7afa6036f44b193dd13528c1f943b504b9691"}}}}