{"action":"created","issue":{"url":"https://api.github.com/repos/datagovuk/ckanext-dgu/issues/223","labels_url":"https://api.github.com/repos/datagovuk/ckanext-dgu/issues/223/labels{/name}","comments_url":"https://api.github.com/repos/datagovuk/ckanext-dgu/issues/223/comments","events_url":"https://api.github.com/repos/datagovuk/ckanext-dgu/issues/223/events","html_url":"https://github.com/datagovuk/ckanext-dgu/pull/223","id":115273062,"number":223,"title":"Fixes the inventory tests.","user":{"login":"rossjones","id":118063,"avatar_url":"https://avatars.githubusercontent.com/u/118063?v=3","gravatar_id":"","url":"https://api.github.com/users/rossjones","html_url":"https://github.com/rossjones","followers_url":"https://api.github.com/users/rossjones/followers","following_url":"https://api.github.com/users/rossjones/following{/other_user}","gists_url":"https://api.github.com/users/rossjones/gists{/gist_id}","starred_url":"https://api.github.com/users/rossjones/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rossjones/subscriptions","organizations_url":"https://api.github.com/users/rossjones/orgs","repos_url":"https://api.github.com/users/rossjones/repos","events_url":"https://api.github.com/users/rossjones/events{/privacy}","received_events_url":"https://api.github.com/users/rossjones/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/datagovuk/ckanext-dgu/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-05T12:25:43Z","updated_at":"2015-11-05T13:30:55Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/datagovuk/ckanext-dgu/pulls/223","html_url":"https://github.com/datagovuk/ckanext-dgu/pull/223","diff_url":"https://github.com/datagovuk/ckanext-dgu/pull/223.diff","patch_url":"https://github.com/datagovuk/ckanext-dgu/pull/223.patch"},"body":"Requires DB to be postgres for the CTE around groups*.  Was using the\r\nwrong form on a lot of pages, the first one is our search box.\r\n\r\nOne thing that is problematic is that after a POST we redirect, and\r\nnormally you'd call follow() on the response to get to the actual\r\ncontent - but unfortunately the Location header generated appears to be\r\ninvalid.\r\n\r\n\r\n* This also accidentally fixes the test_publisher.TestParentAuth tests."},"comment":{"url":"https://api.github.com/repos/datagovuk/ckanext-dgu/issues/comments/154059373","html_url":"https://github.com/datagovuk/ckanext-dgu/pull/223#issuecomment-154059373","issue_url":"https://api.github.com/repos/datagovuk/ckanext-dgu/issues/223","id":154059373,"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},"created_at":"2015-11-05T13:30:55Z","updated_at":"2015-11-05T13:30:55Z","body":"Should fix\r\n```\r\nckanext.dgu.tests.functional.test_inventory.TestInventory.test_get_download ... ERROR - ross\r\nckanext.dgu.tests.functional.test_inventory.TestInventory.test_inventory_auth ... ERROR - ross\r\nckanext.dgu.tests.functional.test_inventory.TestInventory.test_inventory_auth_levels ... ERROR - ross\r\nckanext.dgu.tests.functional.test_inventory.TestInventory.test_upload ... ERROR - ross\r\n```"}}