{"action":"opened","number":10,"pull_request":{"url":"https://api.github.com/repos/wandesky/store-manager/pulls/10","id":225276274,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI1Mjc2Mjc0","html_url":"https://github.com/wandesky/store-manager/pull/10","diff_url":"https://github.com/wandesky/store-manager/pull/10.diff","patch_url":"https://github.com/wandesky/store-manager/pull/10.patch","issue_url":"https://api.github.com/repos/wandesky/store-manager/issues/10","number":10,"state":"open","locked":false,"title":"#161220556 write failing tests for missing endpoints","user":{"login":"wandesky","id":19204205,"node_id":"MDQ6VXNlcjE5MjA0MjA1","avatar_url":"https://avatars0.githubusercontent.com/u/19204205?v=4","gravatar_id":"","url":"https://api.github.com/users/wandesky","html_url":"https://github.com/wandesky","followers_url":"https://api.github.com/users/wandesky/followers","following_url":"https://api.github.com/users/wandesky/following{/other_user}","gists_url":"https://api.github.com/users/wandesky/gists{/gist_id}","starred_url":"https://api.github.com/users/wandesky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wandesky/subscriptions","organizations_url":"https://api.github.com/users/wandesky/orgs","repos_url":"https://api.github.com/users/wandesky/repos","events_url":"https://api.github.com/users/wandesky/events{/privacy}","received_events_url":"https://api.github.com/users/wandesky/received_events","type":"User","site_admin":false},"body":"#### What does this PR do?\r\nCreates failing tests for the missing endpoints required in challenge two\r\n\r\n#### Description of Task to be completed?\r\nWrite failing tests for the following endpoints:\r\n* get all products\r\n* post a new product\r\n* put an existing product (update)\r\n* get a specific product (using product ID)\r\n* delete an existing product\r\n* get all sale records\r\n* post a new sale record\r\n* get a specific sale record (using sale ID)\r\n* delete a specific sale record\r\n\r\n#### How should this be manually tested?\r\n##### a. Locally\r\nClone the repo using `git clone https://github.com/wandesky/store-manager.git`\r\nCheckout the tests branch using: `git checkout ch-write-failing-tests-161220556`\r\nChange/Switch to the project's directory cd store-manager\r\nInstall the required dependencies/packages using: 'pip install -r requirements.txt`\r\nLaunch the app using: `python run.py`\r\nUse the swagger documentation to check the failing tests.\r\n\r\n##### a. Online/Heroku\r\n[Visit](heroku.com) the live demo on heroku.\r\n\r\n#### What are the relevant pivotal tracker stories?\r\n[#161220556](https://www.pivotaltracker.com/story/show/161220556)\r\n\r\n#### Screenshots\r\n![Failing Tests on Swagger](https://user-images.githubusercontent.com/19204205/47409804-915c8680-d76c-11e8-98ad-66bd7f767fe4.png)\r\n\r\n#### Questions:\r\nN/A","created_at":"2018-10-24T06:10:53Z","updated_at":"2018-10-24T06:10:53Z","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/wandesky/store-manager/pulls/10/commits","review_comments_url":"https://api.github.com/repos/wandesky/store-manager/pulls/10/comments","review_comment_url":"https://api.github.com/repos/wandesky/store-manager/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wandesky/store-manager/issues/10/comments","statuses_url":"https://api.github.com/repos/wandesky/store-manager/statuses/de4edc68e0b6e10b394fa689fdd22702f600c6a7","head":{"label":"wandesky:ch-write-failing-tests-161220556","ref":"ch-write-failing-tests-161220556","sha":"de4edc68e0b6e10b394fa689fdd22702f600c6a7","user":{"login":"wandesky","id":19204205,"node_id":"MDQ6VXNlcjE5MjA0MjA1","avatar_url":"https://avatars0.githubusercontent.com/u/19204205?v=4","gravatar_id":"","url":"https://api.github.com/users/wandesky","html_url":"https://github.com/wandesky","followers_url":"https://api.github.com/users/wandesky/followers","following_url":"https://api.github.com/users/wandesky/following{/other_user}","gists_url":"https://api.github.com/users/wandesky/gists{/gist_id}","starred_url":"https://api.github.com/users/wandesky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wandesky/subscriptions","organizations_url":"https://api.github.com/users/wandesky/orgs","repos_url":"https://api.github.com/users/wandesky/repos","events_url":"https://api.github.com/users/wandesky/events{/privacy}","received_events_url":"https://api.github.com/users/wandesky/received_events","type":"User","site_admin":false},"repo":{"id":151833157,"node_id":"MDEwOlJlcG9zaXRvcnkxNTE4MzMxNTc=","name":"store-manager","full_name":"wandesky/store-manager","private":false,"owner":{"login":"wandesky","id":19204205,"node_id":"MDQ6VXNlcjE5MjA0MjA1","avatar_url":"https://avatars0.githubusercontent.com/u/19204205?v=4","gravatar_id":"","url":"https://api.github.com/users/wandesky","html_url":"https://github.com/wandesky","followers_url":"https://api.github.com/users/wandesky/followers","following_url":"https://api.github.com/users/wandesky/following{/other_user}","gists_url":"https://api.github.com/users/wandesky/gists{/gist_id}","starred_url":"https://api.github.com/users/wandesky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wandesky/subscriptions","organizations_url":"https://api.github.com/users/wandesky/orgs","repos_url":"https://api.github.com/users/wandesky/repos","events_url":"https://api.github.com/users/wandesky/events{/privacy}","received_events_url":"https://api.github.com/users/wandesky/received_events","type":"User","site_admin":false},"html_url":"https://github.com/wandesky/store-manager","description":"Store Manager is a web application that helps store owners manage sales and product inventory records. This application is meant for use in a single store.","fork":false,"url":"https://api.github.com/repos/wandesky/store-manager","forks_url":"https://api.github.com/repos/wandesky/store-manager/forks","keys_url":"https://api.github.com/repos/wandesky/store-manager/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wandesky/store-manager/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wandesky/store-manager/teams","hooks_url":"https://api.github.com/repos/wandesky/store-manager/hooks","issue_events_url":"https://api.github.com/repos/wandesky/store-manager/issues/events{/number}","events_url":"https://api.github.com/repos/wandesky/store-manager/events","assignees_url":"https://api.github.com/repos/wandesky/store-manager/assignees{/user}","branches_url":"https://api.github.com/repos/wandesky/store-manager/branches{/branch}","tags_url":"https://api.github.com/repos/wandesky/store-manager/tags","blobs_url":"https://api.github.com/repos/wandesky/store-manager/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wandesky/store-manager/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wandesky/store-manager/git/refs{/sha}","trees_url":"https://api.github.com/repos/wandesky/store-manager/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wandesky/store-manager/statuses/{sha}","languages_url":"https://api.github.com/repos/wandesky/store-manager/languages","stargazers_url":"https://api.github.com/repos/wandesky/store-manager/stargazers","contributors_url":"https://api.github.com/repos/wandesky/store-manager/contributors","subscribers_url":"https://api.github.com/repos/wandesky/store-manager/subscribers","subscription_url":"https://api.github.com/repos/wandesky/store-manager/subscription","commits_url":"https://api.github.com/repos/wandesky/store-manager/commits{/sha}","git_commits_url":"https://api.github.com/repos/wandesky/store-manager/git/commits{/sha}","comments_url":"https://api.github.com/repos/wandesky/store-manager/comments{/number}","issue_comment_url":"https://api.github.com/repos/wandesky/store-manager/issues/comments{/number}","contents_url":"https://api.github.com/repos/wandesky/store-manager/contents/{+path}","compare_url":"https://api.github.com/repos/wandesky/store-manager/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wandesky/store-manager/merges","archive_url":"https://api.github.com/repos/wandesky/store-manager/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wandesky/store-manager/downloads","issues_url":"https://api.github.com/repos/wandesky/store-manager/issues{/number}","pulls_url":"https://api.github.com/repos/wandesky/store-manager/pulls{/number}","milestones_url":"https://api.github.com/repos/wandesky/store-manager/milestones{/number}","notifications_url":"https://api.github.com/repos/wandesky/store-manager/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wandesky/store-manager/labels{/name}","releases_url":"https://api.github.com/repos/wandesky/store-manager/releases{/id}","deployments_url":"https://api.github.com/repos/wandesky/store-manager/deployments","created_at":"2018-10-06T11:26:20Z","updated_at":"2018-10-12T11:41:20Z","pushed_at":"2018-10-24T05:56:15Z","git_url":"git://github.com/wandesky/store-manager.git","ssh_url":"git@github.com:wandesky/store-manager.git","clone_url":"https://github.com/wandesky/store-manager.git","svn_url":"https://github.com/wandesky/store-manager","homepage":null,"size":3372,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":1,"open_issues":1,"watchers":0,"default_branch":"develop"}},"base":{"label":"wandesky:bootcamp-week-one","ref":"bootcamp-week-one","sha":"f8e04f9fe18097bfb62450207923f017a1fe2125","user":{"login":"wandesky","id":19204205,"node_id":"MDQ6VXNlcjE5MjA0MjA1","avatar_url":"https://avatars0.githubusercontent.com/u/19204205?v=4","gravatar_id":"","url":"https://api.github.com/users/wandesky","html_url":"https://github.com/wandesky","followers_url":"https://api.github.com/users/wandesky/followers","following_url":"https://api.github.com/users/wandesky/following{/other_user}","gists_url":"https://api.github.com/users/wandesky/gists{/gist_id}","starred_url":"https://api.github.com/users/wandesky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wandesky/subscriptions","organizations_url":"https://api.github.com/users/wandesky/orgs","repos_url":"https://api.github.com/users/wandesky/repos","events_url":"https://api.github.com/users/wandesky/events{/privacy}","received_events_url":"https://api.github.com/users/wandesky/received_events","type":"User","site_admin":false},"repo":{"id":151833157,"node_id":"MDEwOlJlcG9zaXRvcnkxNTE4MzMxNTc=","name":"store-manager","full_name":"wandesky/store-manager","private":false,"owner":{"login":"wandesky","id":19204205,"node_id":"MDQ6VXNlcjE5MjA0MjA1","avatar_url":"https://avatars0.githubusercontent.com/u/19204205?v=4","gravatar_id":"","url":"https://api.github.com/users/wandesky","html_url":"https://github.com/wandesky","followers_url":"https://api.github.com/users/wandesky/followers","following_url":"https://api.github.com/users/wandesky/following{/other_user}","gists_url":"https://api.github.com/users/wandesky/gists{/gist_id}","starred_url":"https://api.github.com/users/wandesky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wandesky/subscriptions","organizations_url":"https://api.github.com/users/wandesky/orgs","repos_url":"https://api.github.com/users/wandesky/repos","events_url":"https://api.github.com/users/wandesky/events{/privacy}","received_events_url":"https://api.github.com/users/wandesky/received_events","type":"User","site_admin":false},"html_url":"https://github.com/wandesky/store-manager","description":"Store Manager is a web application that helps store owners manage sales and product inventory records. This application is meant for use in a single store.","fork":false,"url":"https://api.github.com/repos/wandesky/store-manager","forks_url":"https://api.github.com/repos/wandesky/store-manager/forks","keys_url":"https://api.github.com/repos/wandesky/store-manager/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wandesky/store-manager/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wandesky/store-manager/teams","hooks_url":"https://api.github.com/repos/wandesky/store-manager/hooks","issue_events_url":"https://api.github.com/repos/wandesky/store-manager/issues/events{/number}","events_url":"https://api.github.com/repos/wandesky/store-manager/events","assignees_url":"https://api.github.com/repos/wandesky/store-manager/assignees{/user}","branches_url":"https://api.github.com/repos/wandesky/store-manager/branches{/branch}","tags_url":"https://api.github.com/repos/wandesky/store-manager/tags","blobs_url":"https://api.github.com/repos/wandesky/store-manager/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wandesky/store-manager/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wandesky/store-manager/git/refs{/sha}","trees_url":"https://api.github.com/repos/wandesky/store-manager/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wandesky/store-manager/statuses/{sha}","languages_url":"https://api.github.com/repos/wandesky/store-manager/languages","stargazers_url":"https://api.github.com/repos/wandesky/store-manager/stargazers","contributors_url":"https://api.github.com/repos/wandesky/store-manager/contributors","subscribers_url":"https://api.github.com/repos/wandesky/store-manager/subscribers","subscription_url":"https://api.github.com/repos/wandesky/store-manager/subscription","commits_url":"https://api.github.com/repos/wandesky/store-manager/commits{/sha}","git_commits_url":"https://api.github.com/repos/wandesky/store-manager/git/commits{/sha}","comments_url":"https://api.github.com/repos/wandesky/store-manager/comments{/number}","issue_comment_url":"https://api.github.com/repos/wandesky/store-manager/issues/comments{/number}","contents_url":"https://api.github.com/repos/wandesky/store-manager/contents/{+path}","compare_url":"https://api.github.com/repos/wandesky/store-manager/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wandesky/store-manager/merges","archive_url":"https://api.github.com/repos/wandesky/store-manager/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wandesky/store-manager/downloads","issues_url":"https://api.github.com/repos/wandesky/store-manager/issues{/number}","pulls_url":"https://api.github.com/repos/wandesky/store-manager/pulls{/number}","milestones_url":"https://api.github.com/repos/wandesky/store-manager/milestones{/number}","notifications_url":"https://api.github.com/repos/wandesky/store-manager/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wandesky/store-manager/labels{/name}","releases_url":"https://api.github.com/repos/wandesky/store-manager/releases{/id}","deployments_url":"https://api.github.com/repos/wandesky/store-manager/deployments","created_at":"2018-10-06T11:26:20Z","updated_at":"2018-10-12T11:41:20Z","pushed_at":"2018-10-24T05:56:15Z","git_url":"git://github.com/wandesky/store-manager.git","ssh_url":"git@github.com:wandesky/store-manager.git","clone_url":"https://github.com/wandesky/store-manager.git","svn_url":"https://github.com/wandesky/store-manager","homepage":null,"size":3372,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":1,"open_issues":1,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/wandesky/store-manager/pulls/10"},"html":{"href":"https://github.com/wandesky/store-manager/pull/10"},"issue":{"href":"https://api.github.com/repos/wandesky/store-manager/issues/10"},"comments":{"href":"https://api.github.com/repos/wandesky/store-manager/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/wandesky/store-manager/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/wandesky/store-manager/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wandesky/store-manager/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/wandesky/store-manager/statuses/de4edc68e0b6e10b394fa689fdd22702f600c6a7"}},"author_association":"OWNER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":162,"deletions":5,"changed_files":5}}
{"actor":{"display_login":"wandesky"}}