{"action":"created","comment":{"url":"https://api.github.com/repos/datagovuk/ckanext-dgu/pulls/comments/22854192","id":22854192,"diff_hunk":"@@ -1,1115 +1,472 @@\n-\"\"\"\n-High-level functional tests for the create/edit package form.\n+import re\n+import uuid\n \n-TODO:\n-[ ] Sub-themes\n+import lxml.html\n+from nose.tools import assert_equal\n+from routes import url_for\n \n-\"\"\"\n-from functools import partial\n-import json\n-import re\n+import ckan.new_tests.helpers as helpers\n+import ckan.new_tests.factories as factories\n+import ckan.model as model\n+from ckanext.dgu.tests.functional.base import DguFunctionalTestBase","path":"ckanext/dgu/tests/functional/test_package_form.py","position":19,"original_position":19,"commit_id":"795e3415d268eda727698aaea78dc6182fec2089","original_commit_id":"795e3415d268eda727698aaea78dc6182fec2089","user":{"login":"morty","id":3272,"avatar_url":"https://avatars.githubusercontent.com/u/3272?v=3","gravatar_id":"","url":"https://api.github.com/users/morty","html_url":"https://github.com/morty","followers_url":"https://api.github.com/users/morty/followers","following_url":"https://api.github.com/users/morty/following{/other_user}","gists_url":"https://api.github.com/users/morty/gists{/gist_id}","starred_url":"https://api.github.com/users/morty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/morty/subscriptions","organizations_url":"https://api.github.com/users/morty/orgs","repos_url":"https://api.github.com/users/morty/repos","events_url":"https://api.github.com/users/morty/events{/privacy}","received_events_url":"https://api.github.com/users/morty/received_events","type":"User","site_admin":false},"body":"@davidread did you forget to check in ckanext/dgu/tests/functional/base.py ?","created_at":"2015-01-13T10:38:35Z","updated_at":"2015-01-13T10:38:35Z","html_url":"https://github.com/datagovuk/ckanext-dgu/pull/86#discussion_r22854192","pull_request_url":"https://api.github.com/repos/datagovuk/ckanext-dgu/pulls/86","_links":{"self":{"href":"https://api.github.com/repos/datagovuk/ckanext-dgu/pulls/comments/22854192"},"html":{"href":"https://github.com/datagovuk/ckanext-dgu/pull/86#discussion_r22854192"},"pull_request":{"href":"https://api.github.com/repos/datagovuk/ckanext-dgu/pulls/86"}}},"pull_request":{"url":"https://api.github.com/repos/datagovuk/ckanext-dgu/pulls/86","id":26765287,"html_url":"https://github.com/datagovuk/ckanext-dgu/pull/86","diff_url":"https://github.com/datagovuk/ckanext-dgu/pull/86.diff","patch_url":"https://github.com/datagovuk/ckanext-dgu/pull/86.patch","issue_url":"https://api.github.com/repos/datagovuk/ckanext-dgu/issues/86","number":86,"state":"open","locked":false,"title":"WIP [1608] Jinja conversion/refactor","user":{"login":"davidread","id":307612,"avatar_url":"https://avatars.githubusercontent.com/u/307612?v=3","gravatar_id":"","url":"https://api.github.com/users/davidread","html_url":"https://github.com/davidread","followers_url":"https://api.github.com/users/davidread/followers","following_url":"https://api.github.com/users/davidread/following{/other_user}","gists_url":"https://api.github.com/users/davidread/gists{/gist_id}","starred_url":"https://api.github.com/users/davidread/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidread/subscriptions","organizations_url":"https://api.github.com/users/davidread/orgs","repos_url":"https://api.github.com/users/davidread/repos","events_url":"https://api.github.com/users/davidread/events{/privacy}","received_events_url":"https://api.github.com/users/davidread/received_events","type":"User","site_admin":false},"body":"- refactoring of package edit form. Reduced use of c in the form. Revamped tests.","created_at":"2015-01-02T18:11:19Z","updated_at":"2015-01-13T10:38:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f95176597342e0e0b0287169b99347e3084f0cad","assignee":{"login":"morty","id":3272,"avatar_url":"https://avatars.githubusercontent.com/u/3272?v=3","gravatar_id":"","url":"https://api.github.com/users/morty","html_url":"https://github.com/morty","followers_url":"https://api.github.com/users/morty/followers","following_url":"https://api.github.com/users/morty/following{/other_user}","gists_url":"https://api.github.com/users/morty/gists{/gist_id}","starred_url":"https://api.github.com/users/morty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/morty/subscriptions","organizations_url":"https://api.github.com/users/morty/orgs","repos_url":"https://api.github.com/users/morty/repos","events_url":"https://api.github.com/users/morty/events{/privacy}","received_events_url":"https://api.github.com/users/morty/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/datagovuk/ckanext-dgu/pulls/86/commits","review_comments_url":"https://api.github.com/repos/datagovuk/ckanext-dgu/pulls/86/comments","review_comment_url":"https://api.github.com/repos/datagovuk/ckanext-dgu/pulls/comments/{number}","comments_url":"https://api.github.com/repos/datagovuk/ckanext-dgu/issues/86/comments","statuses_url":"https://api.github.com/repos/datagovuk/ckanext-dgu/statuses/795e3415d268eda727698aaea78dc6182fec2089","head":{"label":"datagovuk:1608-jinja","ref":"1608-jinja","sha":"795e3415d268eda727698aaea78dc6182fec2089","user":{"login":"datagovuk","id":1893876,"avatar_url":"https://avatars.githubusercontent.com/u/1893876?v=3","gravatar_id":"","url":"https://api.github.com/users/datagovuk","html_url":"https://github.com/datagovuk","followers_url":"https://api.github.com/users/datagovuk/followers","following_url":"https://api.github.com/users/datagovuk/following{/other_user}","gists_url":"https://api.github.com/users/datagovuk/gists{/gist_id}","starred_url":"https://api.github.com/users/datagovuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/datagovuk/subscriptions","organizations_url":"https://api.github.com/users/datagovuk/orgs","repos_url":"https://api.github.com/users/datagovuk/repos","events_url":"https://api.github.com/users/datagovuk/events{/privacy}","received_events_url":"https://api.github.com/users/datagovuk/received_events","type":"Organization","site_admin":false},"repo":{"id":2890621,"name":"ckanext-dgu","full_name":"datagovuk/ckanext-dgu","owner":{"login":"datagovuk","id":1893876,"avatar_url":"https://avatars.githubusercontent.com/u/1893876?v=3","gravatar_id":"","url":"https://api.github.com/users/datagovuk","html_url":"https://github.com/datagovuk","followers_url":"https://api.github.com/users/datagovuk/followers","following_url":"https://api.github.com/users/datagovuk/following{/other_user}","gists_url":"https://api.github.com/users/datagovuk/gists{/gist_id}","starred_url":"https://api.github.com/users/datagovuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/datagovuk/subscriptions","organizations_url":"https://api.github.com/users/datagovuk/orgs","repos_url":"https://api.github.com/users/datagovuk/repos","events_url":"https://api.github.com/users/datagovuk/events{/privacy}","received_events_url":"https://api.github.com/users/datagovuk/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/datagovuk/ckanext-dgu","description":"CKAN extension for data.gov.uk","fork":false,"url":"https://api.github.com/repos/datagovuk/ckanext-dgu","forks_url":"https://api.github.com/repos/datagovuk/ckanext-dgu/forks","keys_url":"https://api.github.com/repos/datagovuk/ckanext-dgu/keys{/key_id}","collaborators_url":"https://api.github.com/repos/datagovuk/ckanext-dgu/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/datagovuk/ckanext-dgu/teams","hooks_url":"https://api.github.com/repos/datagovuk/ckanext-dgu/hooks","issue_events_url":"https://api.github.com/repos/datagovuk/ckanext-dgu/issues/events{/number}","events_url":"https://api.github.com/repos/datagovuk/ckanext-dgu/events","assignees_url":"https://api.github.com/repos/datagovuk/ckanext-dgu/assignees{/user}","branches_url":"https://api.github.com/repos/datagovuk/ckanext-dgu/branches{/branch}","tags_url":"https://api.github.com/repos/datagovuk/ckanext-dgu/tags","blobs_url":"https://api.github.com/repos/datagovuk/ckanext-dgu/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/datagovuk/ckanext-dgu/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/datagovuk/ckanext-dgu/git/refs{/sha}","trees_url":"https://api.github.com/repos/datagovuk/ckanext-dgu/git/trees{/sha}","statuses_url":"https://api.github.com/repos/datagovuk/ckanext-dgu/statuses/{sha}","languages_url":"https://api.github.com/repos/datagovuk/ckanext-dgu/languages","stargazers_url":"https://api.github.com/repos/datagovuk/ckanext-dgu/stargazers","contributors_url":"https://api.github.com/repos/datagovuk/ckanext-dgu/contributors","subscribers_url":"https://api.github.com/repos/datagovuk/ckanext-dgu/subscribers","subscription_url":"https://api.github.com/repos/datagovuk/ckanext-dgu/subscription","commits_url":"https://api.github.com/repos/datagovuk/ckanext-dgu/commits{/sha}","git_commits_url":"https://api.github.com/repos/datagovuk/ckanext-dgu/git/commits{/sha}","comments_url":"https://api.github.com/repos/datagovuk/ckanext-dgu/comments{/number}","issue_comment_url":"https://api.github.com/repos/datagovuk/ckanext-dgu/issues/comments/{number}","contents_url":"https://api.github.com/repos/datagovuk/ckanext-dgu/contents/{+path}","compare_url":"https://api.github.com/repos/datagovuk/ckanext-dgu/compare/{base}...{head}","merges_url":"https://api.github.com/repos/datagovuk/ckanext-dgu/merges","archive_url":"https://api.github.com/repos/datagovuk/ckanext-dgu/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/datagovuk/ckanext-dgu/downloads","issues_url":"https://api.github.com/repos/datagovuk/ckanext-dgu/issues{/number}","pulls_url":"https://api.github.com/repos/datagovuk/ckanext-dgu/pulls{/number}","milestones_url":"https://api.github.com/repos/datagovuk/ckanext-dgu/milestones{/number}","notifications_url":"https://api.github.com/repos/datagovuk/ckanext-dgu/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/datagovuk/ckanext-dgu/labels{/name}","releases_url":"https://api.github.com/repos/datagovuk/ckanext-dgu/releases{/id}","created_at":"2011-12-01T11:31:04Z","updated_at":"2015-01-13T08:30:28Z","pushed_at":"2015-01-13T09:32:55Z","git_url":"git://github.com/datagovuk/ckanext-dgu.git","ssh_url":"git@github.com:datagovuk/ckanext-dgu.git","clone_url":"https://github.com/datagovuk/ckanext-dgu.git","svn_url":"https://github.com/datagovuk/ckanext-dgu","homepage":"http://data.gov.uk/","size":26435,"stargazers_count":16,"watchers_count":16,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":16,"mirror_url":null,"open_issues_count":8,"forks":16,"open_issues":8,"watchers":16,"default_branch":"master"}},"base":{"label":"datagovuk:master","ref":"master","sha":"85529e3b6cc735745a0889b1349e68b19fed20f3","user":{"login":"datagovuk","id":1893876,"avatar_url":"https://avatars.githubusercontent.com/u/1893876?v=3","gravatar_id":"","url":"https://api.github.com/users/datagovuk","html_url":"https://github.com/datagovuk","followers_url":"https://api.github.com/users/datagovuk/followers","following_url":"https://api.github.com/users/datagovuk/following{/other_user}","gists_url":"https://api.github.com/users/datagovuk/gists{/gist_id}","starred_url":"https://api.github.com/users/datagovuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/datagovuk/subscriptions","organizations_url":"https://api.github.com/users/datagovuk/orgs","repos_url":"https://api.github.com/users/datagovuk/repos","events_url":"https://api.github.com/users/datagovuk/events{/privacy}","received_events_url":"https://api.github.com/users/datagovuk/received_events","type":"Organization","site_admin":false},"repo":{"id":2890621,"name":"ckanext-dgu","full_name":"datagovuk/ckanext-dgu","owner":{"login":"datagovuk","id":1893876,"avatar_url":"https://avatars.githubusercontent.com/u/1893876?v=3","gravatar_id":"","url":"https://api.github.com/users/datagovuk","html_url":"https://github.com/datagovuk","followers_url":"https://api.github.com/users/datagovuk/followers","following_url":"https://api.github.com/users/datagovuk/following{/other_user}","gists_url":"https://api.github.com/users/datagovuk/gists{/gist_id}","starred_url":"https://api.github.com/users/datagovuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/datagovuk/subscriptions","organizations_url":"https://api.github.com/users/datagovuk/orgs","repos_url":"https://api.github.com/users/datagovuk/repos","events_url":"https://api.github.com/users/datagovuk/events{/privacy}","received_events_url":"https://api.github.com/users/datagovuk/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/datagovuk/ckanext-dgu","description":"CKAN extension for data.gov.uk","fork":false,"url":"https://api.github.com/repos/datagovuk/ckanext-dgu","forks_url":"https://api.github.com/repos/datagovuk/ckanext-dgu/forks","keys_url":"https://api.github.com/repos/datagovuk/ckanext-dgu/keys{/key_id}","collaborators_url":"https://api.github.com/repos/datagovuk/ckanext-dgu/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/datagovuk/ckanext-dgu/teams","hooks_url":"https://api.github.com/repos/datagovuk/ckanext-dgu/hooks","issue_events_url":"https://api.github.com/repos/datagovuk/ckanext-dgu/issues/events{/number}","events_url":"https://api.github.com/repos/datagovuk/ckanext-dgu/events","assignees_url":"https://api.github.com/repos/datagovuk/ckanext-dgu/assignees{/user}","branches_url":"https://api.github.com/repos/datagovuk/ckanext-dgu/branches{/branch}","tags_url":"https://api.github.com/repos/datagovuk/ckanext-dgu/tags","blobs_url":"https://api.github.com/repos/datagovuk/ckanext-dgu/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/datagovuk/ckanext-dgu/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/datagovuk/ckanext-dgu/git/refs{/sha}","trees_url":"https://api.github.com/repos/datagovuk/ckanext-dgu/git/trees{/sha}","statuses_url":"https://api.github.com/repos/datagovuk/ckanext-dgu/statuses/{sha}","languages_url":"https://api.github.com/repos/datagovuk/ckanext-dgu/languages","stargazers_url":"https://api.github.com/repos/datagovuk/ckanext-dgu/stargazers","contributors_url":"https://api.github.com/repos/datagovuk/ckanext-dgu/contributors","subscribers_url":"https://api.github.com/repos/datagovuk/ckanext-dgu/subscribers","subscription_url":"https://api.github.com/repos/datagovuk/ckanext-dgu/subscription","commits_url":"https://api.github.com/repos/datagovuk/ckanext-dgu/commits{/sha}","git_commits_url":"https://api.github.com/repos/datagovuk/ckanext-dgu/git/commits{/sha}","comments_url":"https://api.github.com/repos/datagovuk/ckanext-dgu/comments{/number}","issue_comment_url":"https://api.github.com/repos/datagovuk/ckanext-dgu/issues/comments/{number}","contents_url":"https://api.github.com/repos/datagovuk/ckanext-dgu/contents/{+path}","compare_url":"https://api.github.com/repos/datagovuk/ckanext-dgu/compare/{base}...{head}","merges_url":"https://api.github.com/repos/datagovuk/ckanext-dgu/merges","archive_url":"https://api.github.com/repos/datagovuk/ckanext-dgu/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/datagovuk/ckanext-dgu/downloads","issues_url":"https://api.github.com/repos/datagovuk/ckanext-dgu/issues{/number}","pulls_url":"https://api.github.com/repos/datagovuk/ckanext-dgu/pulls{/number}","milestones_url":"https://api.github.com/repos/datagovuk/ckanext-dgu/milestones{/number}","notifications_url":"https://api.github.com/repos/datagovuk/ckanext-dgu/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/datagovuk/ckanext-dgu/labels{/name}","releases_url":"https://api.github.com/repos/datagovuk/ckanext-dgu/releases{/id}","created_at":"2011-12-01T11:31:04Z","updated_at":"2015-01-13T08:30:28Z","pushed_at":"2015-01-13T09:32:55Z","git_url":"git://github.com/datagovuk/ckanext-dgu.git","ssh_url":"git@github.com:datagovuk/ckanext-dgu.git","clone_url":"https://github.com/datagovuk/ckanext-dgu.git","svn_url":"https://github.com/datagovuk/ckanext-dgu","homepage":"http://data.gov.uk/","size":26435,"stargazers_count":16,"watchers_count":16,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":16,"mirror_url":null,"open_issues_count":8,"forks":16,"open_issues":8,"watchers":16,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/datagovuk/ckanext-dgu/pulls/86"},"html":{"href":"https://github.com/datagovuk/ckanext-dgu/pull/86"},"issue":{"href":"https://api.github.com/repos/datagovuk/ckanext-dgu/issues/86"},"comments":{"href":"https://api.github.com/repos/datagovuk/ckanext-dgu/issues/86/comments"},"review_comments":{"href":"https://api.github.com/repos/datagovuk/ckanext-dgu/pulls/86/comments"},"review_comment":{"href":"https://api.github.com/repos/datagovuk/ckanext-dgu/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/datagovuk/ckanext-dgu/pulls/86/commits"},"statuses":{"href":"https://api.github.com/repos/datagovuk/ckanext-dgu/statuses/795e3415d268eda727698aaea78dc6182fec2089"}}}}