{"action":"opened","number":13,"pull_request":{"url":"https://api.github.com/repos/lmcgartland/graphene-file-upload/pulls/13","id":213445556,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEzNDQ1NTU2","html_url":"https://github.com/lmcgartland/graphene-file-upload/pull/13","diff_url":"https://github.com/lmcgartland/graphene-file-upload/pull/13.diff","patch_url":"https://github.com/lmcgartland/graphene-file-upload/pull/13.patch","issue_url":"https://api.github.com/repos/lmcgartland/graphene-file-upload/issues/13","number":13,"state":"open","locked":false,"title":"[WIP] tests","user":{"login":"davidroeca","id":6155705,"node_id":"MDQ6VXNlcjYxNTU3MDU=","avatar_url":"https://avatars3.githubusercontent.com/u/6155705?v=4","gravatar_id":"","url":"https://api.github.com/users/davidroeca","html_url":"https://github.com/davidroeca","followers_url":"https://api.github.com/users/davidroeca/followers","following_url":"https://api.github.com/users/davidroeca/following{/other_user}","gists_url":"https://api.github.com/users/davidroeca/gists{/gist_id}","starred_url":"https://api.github.com/users/davidroeca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidroeca/subscriptions","organizations_url":"https://api.github.com/users/davidroeca/orgs","repos_url":"https://api.github.com/users/davidroeca/repos","events_url":"https://api.github.com/users/davidroeca/events{/privacy}","received_events_url":"https://api.github.com/users/davidroeca/received_events","type":"User","site_admin":false},"body":"@lmcgartland I'm looking into writing some tests for this library -- let me know if this structure seems reasonable and I'll continue to write them out for the flask side. I picked py.test since that's what the flask documentation recommends but if you prefer we just stick to the unittest module, I'm fine with that too. I will probably focus most efforts on testing the actual operations replacement logic.\r\n\r\nOne thing to note that I found with this testing environment is that the flask module within this package prevents access to flask in python 2 due to the [name shadowing trap](https://ncoghlan-devs-python-notes.readthedocs.io/en/latest/python_concepts/import_traps.html#the-name-shadowing-trap).\r\n\r\nI figure we'll just say that the library will support python 3.4+ (which is also consistent with what django supports)","created_at":"2018-09-05T22:26:42Z","updated_at":"2018-09-05T22:26:42Z","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/lmcgartland/graphene-file-upload/pulls/13/commits","review_comments_url":"https://api.github.com/repos/lmcgartland/graphene-file-upload/pulls/13/comments","review_comment_url":"https://api.github.com/repos/lmcgartland/graphene-file-upload/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lmcgartland/graphene-file-upload/issues/13/comments","statuses_url":"https://api.github.com/repos/lmcgartland/graphene-file-upload/statuses/04281590e2c91e0ed20f7344bd224cc588fa2c56","head":{"label":"davidroeca:tests","ref":"tests","sha":"04281590e2c91e0ed20f7344bd224cc588fa2c56","user":{"login":"davidroeca","id":6155705,"node_id":"MDQ6VXNlcjYxNTU3MDU=","avatar_url":"https://avatars3.githubusercontent.com/u/6155705?v=4","gravatar_id":"","url":"https://api.github.com/users/davidroeca","html_url":"https://github.com/davidroeca","followers_url":"https://api.github.com/users/davidroeca/followers","following_url":"https://api.github.com/users/davidroeca/following{/other_user}","gists_url":"https://api.github.com/users/davidroeca/gists{/gist_id}","starred_url":"https://api.github.com/users/davidroeca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidroeca/subscriptions","organizations_url":"https://api.github.com/users/davidroeca/orgs","repos_url":"https://api.github.com/users/davidroeca/repos","events_url":"https://api.github.com/users/davidroeca/events{/privacy}","received_events_url":"https://api.github.com/users/davidroeca/received_events","type":"User","site_admin":false},"repo":{"id":140014543,"node_id":"MDEwOlJlcG9zaXRvcnkxNDAwMTQ1NDM=","name":"graphene-file-upload","full_name":"davidroeca/graphene-file-upload","owner":{"login":"davidroeca","id":6155705,"node_id":"MDQ6VXNlcjYxNTU3MDU=","avatar_url":"https://avatars3.githubusercontent.com/u/6155705?v=4","gravatar_id":"","url":"https://api.github.com/users/davidroeca","html_url":"https://github.com/davidroeca","followers_url":"https://api.github.com/users/davidroeca/followers","following_url":"https://api.github.com/users/davidroeca/following{/other_user}","gists_url":"https://api.github.com/users/davidroeca/gists{/gist_id}","starred_url":"https://api.github.com/users/davidroeca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidroeca/subscriptions","organizations_url":"https://api.github.com/users/davidroeca/orgs","repos_url":"https://api.github.com/users/davidroeca/repos","events_url":"https://api.github.com/users/davidroeca/events{/privacy}","received_events_url":"https://api.github.com/users/davidroeca/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/davidroeca/graphene-file-upload","description":"Enhances Graphene Django GraphQL Server for intuitive file uploads via GraphQL mutations.","fork":true,"url":"https://api.github.com/repos/davidroeca/graphene-file-upload","forks_url":"https://api.github.com/repos/davidroeca/graphene-file-upload/forks","keys_url":"https://api.github.com/repos/davidroeca/graphene-file-upload/keys{/key_id}","collaborators_url":"https://api.github.com/repos/davidroeca/graphene-file-upload/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/davidroeca/graphene-file-upload/teams","hooks_url":"https://api.github.com/repos/davidroeca/graphene-file-upload/hooks","issue_events_url":"https://api.github.com/repos/davidroeca/graphene-file-upload/issues/events{/number}","events_url":"https://api.github.com/repos/davidroeca/graphene-file-upload/events","assignees_url":"https://api.github.com/repos/davidroeca/graphene-file-upload/assignees{/user}","branches_url":"https://api.github.com/repos/davidroeca/graphene-file-upload/branches{/branch}","tags_url":"https://api.github.com/repos/davidroeca/graphene-file-upload/tags","blobs_url":"https://api.github.com/repos/davidroeca/graphene-file-upload/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/davidroeca/graphene-file-upload/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/davidroeca/graphene-file-upload/git/refs{/sha}","trees_url":"https://api.github.com/repos/davidroeca/graphene-file-upload/git/trees{/sha}","statuses_url":"https://api.github.com/repos/davidroeca/graphene-file-upload/statuses/{sha}","languages_url":"https://api.github.com/repos/davidroeca/graphene-file-upload/languages","stargazers_url":"https://api.github.com/repos/davidroeca/graphene-file-upload/stargazers","contributors_url":"https://api.github.com/repos/davidroeca/graphene-file-upload/contributors","subscribers_url":"https://api.github.com/repos/davidroeca/graphene-file-upload/subscribers","subscription_url":"https://api.github.com/repos/davidroeca/graphene-file-upload/subscription","commits_url":"https://api.github.com/repos/davidroeca/graphene-file-upload/commits{/sha}","git_commits_url":"https://api.github.com/repos/davidroeca/graphene-file-upload/git/commits{/sha}","comments_url":"https://api.github.com/repos/davidroeca/graphene-file-upload/comments{/number}","issue_comment_url":"https://api.github.com/repos/davidroeca/graphene-file-upload/issues/comments{/number}","contents_url":"https://api.github.com/repos/davidroeca/graphene-file-upload/contents/{+path}","compare_url":"https://api.github.com/repos/davidroeca/graphene-file-upload/compare/{base}...{head}","merges_url":"https://api.github.com/repos/davidroeca/graphene-file-upload/merges","archive_url":"https://api.github.com/repos/davidroeca/graphene-file-upload/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/davidroeca/graphene-file-upload/downloads","issues_url":"https://api.github.com/repos/davidroeca/graphene-file-upload/issues{/number}","pulls_url":"https://api.github.com/repos/davidroeca/graphene-file-upload/pulls{/number}","milestones_url":"https://api.github.com/repos/davidroeca/graphene-file-upload/milestones{/number}","notifications_url":"https://api.github.com/repos/davidroeca/graphene-file-upload/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/davidroeca/graphene-file-upload/labels{/name}","releases_url":"https://api.github.com/repos/davidroeca/graphene-file-upload/releases{/id}","deployments_url":"https://api.github.com/repos/davidroeca/graphene-file-upload/deployments","created_at":"2018-07-06T17:44:34Z","updated_at":"2018-07-15T04:20:50Z","pushed_at":"2018-09-05T22:20:21Z","git_url":"git://github.com/davidroeca/graphene-file-upload.git","ssh_url":"git@github.com:davidroeca/graphene-file-upload.git","clone_url":"https://github.com/davidroeca/graphene-file-upload.git","svn_url":"https://github.com/davidroeca/graphene-file-upload","homepage":"","size":26,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"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","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"lmcgartland:master","ref":"master","sha":"915240dab90db7f829c5d0009713184b5191b239","user":{"login":"lmcgartland","id":3312094,"node_id":"MDQ6VXNlcjMzMTIwOTQ=","avatar_url":"https://avatars3.githubusercontent.com/u/3312094?v=4","gravatar_id":"","url":"https://api.github.com/users/lmcgartland","html_url":"https://github.com/lmcgartland","followers_url":"https://api.github.com/users/lmcgartland/followers","following_url":"https://api.github.com/users/lmcgartland/following{/other_user}","gists_url":"https://api.github.com/users/lmcgartland/gists{/gist_id}","starred_url":"https://api.github.com/users/lmcgartland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lmcgartland/subscriptions","organizations_url":"https://api.github.com/users/lmcgartland/orgs","repos_url":"https://api.github.com/users/lmcgartland/repos","events_url":"https://api.github.com/users/lmcgartland/events{/privacy}","received_events_url":"https://api.github.com/users/lmcgartland/received_events","type":"User","site_admin":false},"repo":{"id":126935000,"node_id":"MDEwOlJlcG9zaXRvcnkxMjY5MzUwMDA=","name":"graphene-file-upload","full_name":"lmcgartland/graphene-file-upload","owner":{"login":"lmcgartland","id":3312094,"node_id":"MDQ6VXNlcjMzMTIwOTQ=","avatar_url":"https://avatars3.githubusercontent.com/u/3312094?v=4","gravatar_id":"","url":"https://api.github.com/users/lmcgartland","html_url":"https://github.com/lmcgartland","followers_url":"https://api.github.com/users/lmcgartland/followers","following_url":"https://api.github.com/users/lmcgartland/following{/other_user}","gists_url":"https://api.github.com/users/lmcgartland/gists{/gist_id}","starred_url":"https://api.github.com/users/lmcgartland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lmcgartland/subscriptions","organizations_url":"https://api.github.com/users/lmcgartland/orgs","repos_url":"https://api.github.com/users/lmcgartland/repos","events_url":"https://api.github.com/users/lmcgartland/events{/privacy}","received_events_url":"https://api.github.com/users/lmcgartland/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lmcgartland/graphene-file-upload","description":"Enhances Graphene Django GraphQL Server for intuitive file uploads via GraphQL mutations.","fork":false,"url":"https://api.github.com/repos/lmcgartland/graphene-file-upload","forks_url":"https://api.github.com/repos/lmcgartland/graphene-file-upload/forks","keys_url":"https://api.github.com/repos/lmcgartland/graphene-file-upload/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lmcgartland/graphene-file-upload/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lmcgartland/graphene-file-upload/teams","hooks_url":"https://api.github.com/repos/lmcgartland/graphene-file-upload/hooks","issue_events_url":"https://api.github.com/repos/lmcgartland/graphene-file-upload/issues/events{/number}","events_url":"https://api.github.com/repos/lmcgartland/graphene-file-upload/events","assignees_url":"https://api.github.com/repos/lmcgartland/graphene-file-upload/assignees{/user}","branches_url":"https://api.github.com/repos/lmcgartland/graphene-file-upload/branches{/branch}","tags_url":"https://api.github.com/repos/lmcgartland/graphene-file-upload/tags","blobs_url":"https://api.github.com/repos/lmcgartland/graphene-file-upload/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lmcgartland/graphene-file-upload/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lmcgartland/graphene-file-upload/git/refs{/sha}","trees_url":"https://api.github.com/repos/lmcgartland/graphene-file-upload/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lmcgartland/graphene-file-upload/statuses/{sha}","languages_url":"https://api.github.com/repos/lmcgartland/graphene-file-upload/languages","stargazers_url":"https://api.github.com/repos/lmcgartland/graphene-file-upload/stargazers","contributors_url":"https://api.github.com/repos/lmcgartland/graphene-file-upload/contributors","subscribers_url":"https://api.github.com/repos/lmcgartland/graphene-file-upload/subscribers","subscription_url":"https://api.github.com/repos/lmcgartland/graphene-file-upload/subscription","commits_url":"https://api.github.com/repos/lmcgartland/graphene-file-upload/commits{/sha}","git_commits_url":"https://api.github.com/repos/lmcgartland/graphene-file-upload/git/commits{/sha}","comments_url":"https://api.github.com/repos/lmcgartland/graphene-file-upload/comments{/number}","issue_comment_url":"https://api.github.com/repos/lmcgartland/graphene-file-upload/issues/comments{/number}","contents_url":"https://api.github.com/repos/lmcgartland/graphene-file-upload/contents/{+path}","compare_url":"https://api.github.com/repos/lmcgartland/graphene-file-upload/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lmcgartland/graphene-file-upload/merges","archive_url":"https://api.github.com/repos/lmcgartland/graphene-file-upload/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lmcgartland/graphene-file-upload/downloads","issues_url":"https://api.github.com/repos/lmcgartland/graphene-file-upload/issues{/number}","pulls_url":"https://api.github.com/repos/lmcgartland/graphene-file-upload/pulls{/number}","milestones_url":"https://api.github.com/repos/lmcgartland/graphene-file-upload/milestones{/number}","notifications_url":"https://api.github.com/repos/lmcgartland/graphene-file-upload/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lmcgartland/graphene-file-upload/labels{/name}","releases_url":"https://api.github.com/repos/lmcgartland/graphene-file-upload/releases{/id}","deployments_url":"https://api.github.com/repos/lmcgartland/graphene-file-upload/deployments","created_at":"2018-03-27T05:45:16Z","updated_at":"2018-09-04T21:02:23Z","pushed_at":"2018-08-30T23:08:00Z","git_url":"git://github.com/lmcgartland/graphene-file-upload.git","ssh_url":"git@github.com:lmcgartland/graphene-file-upload.git","clone_url":"https://github.com/lmcgartland/graphene-file-upload.git","svn_url":"https://github.com/lmcgartland/graphene-file-upload","homepage":"","size":26,"stargazers_count":36,"watchers_count":36,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":4,"open_issues":2,"watchers":36,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lmcgartland/graphene-file-upload/pulls/13"},"html":{"href":"https://github.com/lmcgartland/graphene-file-upload/pull/13"},"issue":{"href":"https://api.github.com/repos/lmcgartland/graphene-file-upload/issues/13"},"comments":{"href":"https://api.github.com/repos/lmcgartland/graphene-file-upload/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/lmcgartland/graphene-file-upload/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/lmcgartland/graphene-file-upload/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lmcgartland/graphene-file-upload/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/lmcgartland/graphene-file-upload/statuses/04281590e2c91e0ed20f7344bd224cc588fa2c56"}},"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":144,"deletions":14,"changed_files":9}}
{"actor":{"display_login":"davidroeca"}}