{"action":"opened","number":81,"pull_request":{"url":"https://api.github.com/repos/california-civic-data-coalition/django-postgres-copy/pulls/81","id":179790044,"html_url":"https://github.com/california-civic-data-coalition/django-postgres-copy/pull/81","diff_url":"https://github.com/california-civic-data-coalition/django-postgres-copy/pull/81.diff","patch_url":"https://github.com/california-civic-data-coalition/django-postgres-copy/pull/81.patch","issue_url":"https://api.github.com/repos/california-civic-data-coalition/django-postgres-copy/issues/81","number":81,"state":"open","locked":false,"title":"added logic for more verbose error messages on copy_from failures","user":{"login":"igncampa","id":26033955,"avatar_url":"https://avatars2.githubusercontent.com/u/26033955?v=4","gravatar_id":"","url":"https://api.github.com/users/igncampa","html_url":"https://github.com/igncampa","followers_url":"https://api.github.com/users/igncampa/followers","following_url":"https://api.github.com/users/igncampa/following{/other_user}","gists_url":"https://api.github.com/users/igncampa/gists{/gist_id}","starred_url":"https://api.github.com/users/igncampa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/igncampa/subscriptions","organizations_url":"https://api.github.com/users/igncampa/orgs","repos_url":"https://api.github.com/users/igncampa/repos","events_url":"https://api.github.com/users/igncampa/events{/privacy}","received_events_url":"https://api.github.com/users/igncampa/received_events","type":"User","site_admin":false},"body":"Resolves #79 \r\n\r\nAny inputs on how to write tests for these or if tests are necessary in the first place? As far as I know `assertRaises` cares about the exception only and not the message and all I'm really doing in this commit is manipulating the message string.","created_at":"2018-04-05T20:39:05Z","updated_at":"2018-04-05T20:39:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/california-civic-data-coalition/django-postgres-copy/pulls/81/commits","review_comments_url":"https://api.github.com/repos/california-civic-data-coalition/django-postgres-copy/pulls/81/comments","review_comment_url":"https://api.github.com/repos/california-civic-data-coalition/django-postgres-copy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/california-civic-data-coalition/django-postgres-copy/issues/81/comments","statuses_url":"https://api.github.com/repos/california-civic-data-coalition/django-postgres-copy/statuses/e20855c4fc955d676bd384b6b0261d3139f7984d","head":{"label":"igncampa:copyfrom_errors","ref":"copyfrom_errors","sha":"e20855c4fc955d676bd384b6b0261d3139f7984d","user":{"login":"igncampa","id":26033955,"avatar_url":"https://avatars2.githubusercontent.com/u/26033955?v=4","gravatar_id":"","url":"https://api.github.com/users/igncampa","html_url":"https://github.com/igncampa","followers_url":"https://api.github.com/users/igncampa/followers","following_url":"https://api.github.com/users/igncampa/following{/other_user}","gists_url":"https://api.github.com/users/igncampa/gists{/gist_id}","starred_url":"https://api.github.com/users/igncampa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/igncampa/subscriptions","organizations_url":"https://api.github.com/users/igncampa/orgs","repos_url":"https://api.github.com/users/igncampa/repos","events_url":"https://api.github.com/users/igncampa/events{/privacy}","received_events_url":"https://api.github.com/users/igncampa/received_events","type":"User","site_admin":false},"repo":{"id":125936092,"name":"django-postgres-copy","full_name":"igncampa/django-postgres-copy","owner":{"login":"igncampa","id":26033955,"avatar_url":"https://avatars2.githubusercontent.com/u/26033955?v=4","gravatar_id":"","url":"https://api.github.com/users/igncampa","html_url":"https://github.com/igncampa","followers_url":"https://api.github.com/users/igncampa/followers","following_url":"https://api.github.com/users/igncampa/following{/other_user}","gists_url":"https://api.github.com/users/igncampa/gists{/gist_id}","starred_url":"https://api.github.com/users/igncampa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/igncampa/subscriptions","organizations_url":"https://api.github.com/users/igncampa/orgs","repos_url":"https://api.github.com/users/igncampa/repos","events_url":"https://api.github.com/users/igncampa/events{/privacy}","received_events_url":"https://api.github.com/users/igncampa/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/igncampa/django-postgres-copy","description":"Quickly move comma-delimited data in and out of a Django model using PostgreSQL's COPY command.","fork":true,"url":"https://api.github.com/repos/igncampa/django-postgres-copy","forks_url":"https://api.github.com/repos/igncampa/django-postgres-copy/forks","keys_url":"https://api.github.com/repos/igncampa/django-postgres-copy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/igncampa/django-postgres-copy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/igncampa/django-postgres-copy/teams","hooks_url":"https://api.github.com/repos/igncampa/django-postgres-copy/hooks","issue_events_url":"https://api.github.com/repos/igncampa/django-postgres-copy/issues/events{/number}","events_url":"https://api.github.com/repos/igncampa/django-postgres-copy/events","assignees_url":"https://api.github.com/repos/igncampa/django-postgres-copy/assignees{/user}","branches_url":"https://api.github.com/repos/igncampa/django-postgres-copy/branches{/branch}","tags_url":"https://api.github.com/repos/igncampa/django-postgres-copy/tags","blobs_url":"https://api.github.com/repos/igncampa/django-postgres-copy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/igncampa/django-postgres-copy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/igncampa/django-postgres-copy/git/refs{/sha}","trees_url":"https://api.github.com/repos/igncampa/django-postgres-copy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/igncampa/django-postgres-copy/statuses/{sha}","languages_url":"https://api.github.com/repos/igncampa/django-postgres-copy/languages","stargazers_url":"https://api.github.com/repos/igncampa/django-postgres-copy/stargazers","contributors_url":"https://api.github.com/repos/igncampa/django-postgres-copy/contributors","subscribers_url":"https://api.github.com/repos/igncampa/django-postgres-copy/subscribers","subscription_url":"https://api.github.com/repos/igncampa/django-postgres-copy/subscription","commits_url":"https://api.github.com/repos/igncampa/django-postgres-copy/commits{/sha}","git_commits_url":"https://api.github.com/repos/igncampa/django-postgres-copy/git/commits{/sha}","comments_url":"https://api.github.com/repos/igncampa/django-postgres-copy/comments{/number}","issue_comment_url":"https://api.github.com/repos/igncampa/django-postgres-copy/issues/comments{/number}","contents_url":"https://api.github.com/repos/igncampa/django-postgres-copy/contents/{+path}","compare_url":"https://api.github.com/repos/igncampa/django-postgres-copy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/igncampa/django-postgres-copy/merges","archive_url":"https://api.github.com/repos/igncampa/django-postgres-copy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/igncampa/django-postgres-copy/downloads","issues_url":"https://api.github.com/repos/igncampa/django-postgres-copy/issues{/number}","pulls_url":"https://api.github.com/repos/igncampa/django-postgres-copy/pulls{/number}","milestones_url":"https://api.github.com/repos/igncampa/django-postgres-copy/milestones{/number}","notifications_url":"https://api.github.com/repos/igncampa/django-postgres-copy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/igncampa/django-postgres-copy/labels{/name}","releases_url":"https://api.github.com/repos/igncampa/django-postgres-copy/releases{/id}","deployments_url":"https://api.github.com/repos/igncampa/django-postgres-copy/deployments","created_at":"2018-03-20T00:04:50Z","updated_at":"2018-04-01T23:54:50Z","pushed_at":"2018-04-05T20:29:47Z","git_url":"git://github.com/igncampa/django-postgres-copy.git","ssh_url":"git@github.com:igncampa/django-postgres-copy.git","clone_url":"https://github.com/igncampa/django-postgres-copy.git","svn_url":"https://github.com/igncampa/django-postgres-copy","homepage":"http://django-postgres-copy.californiacivicdata.org","size":443,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"california-civic-data-coalition:master","ref":"master","sha":"5d3b81ce7360c823d513c2f875ec9eda67f7984c","user":{"login":"california-civic-data-coalition","id":5342608,"avatar_url":"https://avatars0.githubusercontent.com/u/5342608?v=4","gravatar_id":"","url":"https://api.github.com/users/california-civic-data-coalition","html_url":"https://github.com/california-civic-data-coalition","followers_url":"https://api.github.com/users/california-civic-data-coalition/followers","following_url":"https://api.github.com/users/california-civic-data-coalition/following{/other_user}","gists_url":"https://api.github.com/users/california-civic-data-coalition/gists{/gist_id}","starred_url":"https://api.github.com/users/california-civic-data-coalition/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/california-civic-data-coalition/subscriptions","organizations_url":"https://api.github.com/users/california-civic-data-coalition/orgs","repos_url":"https://api.github.com/users/california-civic-data-coalition/repos","events_url":"https://api.github.com/users/california-civic-data-coalition/events{/privacy}","received_events_url":"https://api.github.com/users/california-civic-data-coalition/received_events","type":"Organization","site_admin":false},"repo":{"id":39024529,"name":"django-postgres-copy","full_name":"california-civic-data-coalition/django-postgres-copy","owner":{"login":"california-civic-data-coalition","id":5342608,"avatar_url":"https://avatars0.githubusercontent.com/u/5342608?v=4","gravatar_id":"","url":"https://api.github.com/users/california-civic-data-coalition","html_url":"https://github.com/california-civic-data-coalition","followers_url":"https://api.github.com/users/california-civic-data-coalition/followers","following_url":"https://api.github.com/users/california-civic-data-coalition/following{/other_user}","gists_url":"https://api.github.com/users/california-civic-data-coalition/gists{/gist_id}","starred_url":"https://api.github.com/users/california-civic-data-coalition/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/california-civic-data-coalition/subscriptions","organizations_url":"https://api.github.com/users/california-civic-data-coalition/orgs","repos_url":"https://api.github.com/users/california-civic-data-coalition/repos","events_url":"https://api.github.com/users/california-civic-data-coalition/events{/privacy}","received_events_url":"https://api.github.com/users/california-civic-data-coalition/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/california-civic-data-coalition/django-postgres-copy","description":"Quickly import and export delimited data with Django support for PostgreSQL's COPY command","fork":false,"url":"https://api.github.com/repos/california-civic-data-coalition/django-postgres-copy","forks_url":"https://api.github.com/repos/california-civic-data-coalition/django-postgres-copy/forks","keys_url":"https://api.github.com/repos/california-civic-data-coalition/django-postgres-copy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/california-civic-data-coalition/django-postgres-copy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/california-civic-data-coalition/django-postgres-copy/teams","hooks_url":"https://api.github.com/repos/california-civic-data-coalition/django-postgres-copy/hooks","issue_events_url":"https://api.github.com/repos/california-civic-data-coalition/django-postgres-copy/issues/events{/number}","events_url":"https://api.github.com/repos/california-civic-data-coalition/django-postgres-copy/events","assignees_url":"https://api.github.com/repos/california-civic-data-coalition/django-postgres-copy/assignees{/user}","branches_url":"https://api.github.com/repos/california-civic-data-coalition/django-postgres-copy/branches{/branch}","tags_url":"https://api.github.com/repos/california-civic-data-coalition/django-postgres-copy/tags","blobs_url":"https://api.github.com/repos/california-civic-data-coalition/django-postgres-copy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/california-civic-data-coalition/django-postgres-copy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/california-civic-data-coalition/django-postgres-copy/git/refs{/sha}","trees_url":"https://api.github.com/repos/california-civic-data-coalition/django-postgres-copy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/california-civic-data-coalition/django-postgres-copy/statuses/{sha}","languages_url":"https://api.github.com/repos/california-civic-data-coalition/django-postgres-copy/languages","stargazers_url":"https://api.github.com/repos/california-civic-data-coalition/django-postgres-copy/stargazers","contributors_url":"https://api.github.com/repos/california-civic-data-coalition/django-postgres-copy/contributors","subscribers_url":"https://api.github.com/repos/california-civic-data-coalition/django-postgres-copy/subscribers","subscription_url":"https://api.github.com/repos/california-civic-data-coalition/django-postgres-copy/subscription","commits_url":"https://api.github.com/repos/california-civic-data-coalition/django-postgres-copy/commits{/sha}","git_commits_url":"https://api.github.com/repos/california-civic-data-coalition/django-postgres-copy/git/commits{/sha}","comments_url":"https://api.github.com/repos/california-civic-data-coalition/django-postgres-copy/comments{/number}","issue_comment_url":"https://api.github.com/repos/california-civic-data-coalition/django-postgres-copy/issues/comments{/number}","contents_url":"https://api.github.com/repos/california-civic-data-coalition/django-postgres-copy/contents/{+path}","compare_url":"https://api.github.com/repos/california-civic-data-coalition/django-postgres-copy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/california-civic-data-coalition/django-postgres-copy/merges","archive_url":"https://api.github.com/repos/california-civic-data-coalition/django-postgres-copy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/california-civic-data-coalition/django-postgres-copy/downloads","issues_url":"https://api.github.com/repos/california-civic-data-coalition/django-postgres-copy/issues{/number}","pulls_url":"https://api.github.com/repos/california-civic-data-coalition/django-postgres-copy/pulls{/number}","milestones_url":"https://api.github.com/repos/california-civic-data-coalition/django-postgres-copy/milestones{/number}","notifications_url":"https://api.github.com/repos/california-civic-data-coalition/django-postgres-copy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/california-civic-data-coalition/django-postgres-copy/labels{/name}","releases_url":"https://api.github.com/repos/california-civic-data-coalition/django-postgres-copy/releases{/id}","deployments_url":"https://api.github.com/repos/california-civic-data-coalition/django-postgres-copy/deployments","created_at":"2015-07-13T16:41:23Z","updated_at":"2018-04-02T23:02:20Z","pushed_at":"2018-04-02T22:04:41Z","git_url":"git://github.com/california-civic-data-coalition/django-postgres-copy.git","ssh_url":"git@github.com:california-civic-data-coalition/django-postgres-copy.git","clone_url":"https://github.com/california-civic-data-coalition/django-postgres-copy.git","svn_url":"https://github.com/california-civic-data-coalition/django-postgres-copy","homepage":"http://django-postgres-copy.californiacivicdata.org","size":439,"stargazers_count":79,"watchers_count":79,"language":"Python","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":17,"mirror_url":null,"archived":false,"open_issues_count":10,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":17,"open_issues":10,"watchers":79,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/california-civic-data-coalition/django-postgres-copy/pulls/81"},"html":{"href":"https://github.com/california-civic-data-coalition/django-postgres-copy/pull/81"},"issue":{"href":"https://api.github.com/repos/california-civic-data-coalition/django-postgres-copy/issues/81"},"comments":{"href":"https://api.github.com/repos/california-civic-data-coalition/django-postgres-copy/issues/81/comments"},"review_comments":{"href":"https://api.github.com/repos/california-civic-data-coalition/django-postgres-copy/pulls/81/comments"},"review_comment":{"href":"https://api.github.com/repos/california-civic-data-coalition/django-postgres-copy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/california-civic-data-coalition/django-postgres-copy/pulls/81/commits"},"statuses":{"href":"https://api.github.com/repos/california-civic-data-coalition/django-postgres-copy/statuses/e20855c4fc955d676bd384b6b0261d3139f7984d"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":37,"deletions":3,"changed_files":1}}
{"actor":{"display_login":"igncampa"}}