{"action":"closed","number":182,"pull_request":{"url":"https://api.github.com/repos/andela/AndelaEatsApi/pulls/182","id":251954878,"node_id":"MDExOlB1bGxSZXF1ZXN0MjUxOTU0ODc4","html_url":"https://github.com/andela/AndelaEatsApi/pull/182","diff_url":"https://github.com/andela/AndelaEatsApi/pull/182.diff","patch_url":"https://github.com/andela/AndelaEatsApi/pull/182.patch","issue_url":"https://api.github.com/repos/andela/AndelaEatsApi/issues/182","number":182,"state":"closed","locked":false,"title":"fix test-current-time-by-time-zone","user":{"login":"Victoradukwu","id":24465059,"node_id":"MDQ6VXNlcjI0NDY1MDU5","avatar_url":"https://avatars3.githubusercontent.com/u/24465059?v=4","gravatar_id":"","url":"https://api.github.com/users/Victoradukwu","html_url":"https://github.com/Victoradukwu","followers_url":"https://api.github.com/users/Victoradukwu/followers","following_url":"https://api.github.com/users/Victoradukwu/following{/other_user}","gists_url":"https://api.github.com/users/Victoradukwu/gists{/gist_id}","starred_url":"https://api.github.com/users/Victoradukwu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Victoradukwu/subscriptions","organizations_url":"https://api.github.com/users/Victoradukwu/orgs","repos_url":"https://api.github.com/users/Victoradukwu/repos","events_url":"https://api.github.com/users/Victoradukwu/events{/privacy}","received_events_url":"https://api.github.com/users/Victoradukwu/received_events","type":"User","site_admin":false},"body":"**What does this PR do?**\r\n- ensure that that for current_time_by_time_zone function passes irrespective of the time of the day.\r\n\r\n**Description of Task to be completed?**\r\n-the test was earlier written but fails at a certain time window. This fix updates the test to be able to pass at all times.\r\n**How should this be manually tested?**\r\n- run `pytest` at any time between 12 midnight and 4 am to confirm there are no failures\r\n**Any background context you want to provide?**\r\nNone\r\n\r\n**What are the relevant pivotal tracker stories?**\r\n\r\n","created_at":"2019-02-11T15:26:54Z","updated_at":"2019-02-11T20:11:59Z","closed_at":"2019-02-11T20:11:59Z","merged_at":"2019-02-11T20:11:59Z","merge_commit_sha":"c1736ffde15a5ced997877809d9f9eb67fb7fde2","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/andela/AndelaEatsApi/pulls/182/commits","review_comments_url":"https://api.github.com/repos/andela/AndelaEatsApi/pulls/182/comments","review_comment_url":"https://api.github.com/repos/andela/AndelaEatsApi/pulls/comments{/number}","comments_url":"https://api.github.com/repos/andela/AndelaEatsApi/issues/182/comments","statuses_url":"https://api.github.com/repos/andela/AndelaEatsApi/statuses/e4ea4a3bba84889b726572e0d618106881532485","head":{"label":"andela:fix-test-current-time-by-time-zone","ref":"fix-test-current-time-by-time-zone","sha":"e4ea4a3bba84889b726572e0d618106881532485","user":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"repo":{"id":138162131,"node_id":"MDEwOlJlcG9zaXRvcnkxMzgxNjIxMzE=","name":"AndelaEatsApi","full_name":"andela/AndelaEatsApi","private":false,"owner":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/andela/AndelaEatsApi","description":"This backend application serves as an API backend to the AndelaEats application, which allows Andelans to pre-order lunch a day ahead","fork":false,"url":"https://api.github.com/repos/andela/AndelaEatsApi","forks_url":"https://api.github.com/repos/andela/AndelaEatsApi/forks","keys_url":"https://api.github.com/repos/andela/AndelaEatsApi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/AndelaEatsApi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/AndelaEatsApi/teams","hooks_url":"https://api.github.com/repos/andela/AndelaEatsApi/hooks","issue_events_url":"https://api.github.com/repos/andela/AndelaEatsApi/issues/events{/number}","events_url":"https://api.github.com/repos/andela/AndelaEatsApi/events","assignees_url":"https://api.github.com/repos/andela/AndelaEatsApi/assignees{/user}","branches_url":"https://api.github.com/repos/andela/AndelaEatsApi/branches{/branch}","tags_url":"https://api.github.com/repos/andela/AndelaEatsApi/tags","blobs_url":"https://api.github.com/repos/andela/AndelaEatsApi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/AndelaEatsApi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/AndelaEatsApi/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/AndelaEatsApi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/AndelaEatsApi/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/AndelaEatsApi/languages","stargazers_url":"https://api.github.com/repos/andela/AndelaEatsApi/stargazers","contributors_url":"https://api.github.com/repos/andela/AndelaEatsApi/contributors","subscribers_url":"https://api.github.com/repos/andela/AndelaEatsApi/subscribers","subscription_url":"https://api.github.com/repos/andela/AndelaEatsApi/subscription","commits_url":"https://api.github.com/repos/andela/AndelaEatsApi/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/AndelaEatsApi/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/AndelaEatsApi/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/AndelaEatsApi/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/AndelaEatsApi/contents/{+path}","compare_url":"https://api.github.com/repos/andela/AndelaEatsApi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/AndelaEatsApi/merges","archive_url":"https://api.github.com/repos/andela/AndelaEatsApi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/AndelaEatsApi/downloads","issues_url":"https://api.github.com/repos/andela/AndelaEatsApi/issues{/number}","pulls_url":"https://api.github.com/repos/andela/AndelaEatsApi/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/AndelaEatsApi/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/AndelaEatsApi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/AndelaEatsApi/labels{/name}","releases_url":"https://api.github.com/repos/andela/AndelaEatsApi/releases{/id}","deployments_url":"https://api.github.com/repos/andela/AndelaEatsApi/deployments","created_at":"2018-06-21T11:35:26Z","updated_at":"2019-02-11T20:11:31Z","pushed_at":"2019-02-11T20:11:59Z","git_url":"git://github.com/andela/AndelaEatsApi.git","ssh_url":"git@github.com:andela/AndelaEatsApi.git","clone_url":"https://github.com/andela/AndelaEatsApi.git","svn_url":"https://github.com/andela/AndelaEatsApi","homepage":"","size":457,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":1,"open_issues":0,"watchers":2,"default_branch":"develop"}},"base":{"label":"andela:develop","ref":"develop","sha":"5a08e7dc1e5c53410429afcdcfb561c6a7544122","user":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"repo":{"id":138162131,"node_id":"MDEwOlJlcG9zaXRvcnkxMzgxNjIxMzE=","name":"AndelaEatsApi","full_name":"andela/AndelaEatsApi","private":false,"owner":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/andela/AndelaEatsApi","description":"This backend application serves as an API backend to the AndelaEats application, which allows Andelans to pre-order lunch a day ahead","fork":false,"url":"https://api.github.com/repos/andela/AndelaEatsApi","forks_url":"https://api.github.com/repos/andela/AndelaEatsApi/forks","keys_url":"https://api.github.com/repos/andela/AndelaEatsApi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/AndelaEatsApi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/AndelaEatsApi/teams","hooks_url":"https://api.github.com/repos/andela/AndelaEatsApi/hooks","issue_events_url":"https://api.github.com/repos/andela/AndelaEatsApi/issues/events{/number}","events_url":"https://api.github.com/repos/andela/AndelaEatsApi/events","assignees_url":"https://api.github.com/repos/andela/AndelaEatsApi/assignees{/user}","branches_url":"https://api.github.com/repos/andela/AndelaEatsApi/branches{/branch}","tags_url":"https://api.github.com/repos/andela/AndelaEatsApi/tags","blobs_url":"https://api.github.com/repos/andela/AndelaEatsApi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/AndelaEatsApi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/AndelaEatsApi/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/AndelaEatsApi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/AndelaEatsApi/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/AndelaEatsApi/languages","stargazers_url":"https://api.github.com/repos/andela/AndelaEatsApi/stargazers","contributors_url":"https://api.github.com/repos/andela/AndelaEatsApi/contributors","subscribers_url":"https://api.github.com/repos/andela/AndelaEatsApi/subscribers","subscription_url":"https://api.github.com/repos/andela/AndelaEatsApi/subscription","commits_url":"https://api.github.com/repos/andela/AndelaEatsApi/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/AndelaEatsApi/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/AndelaEatsApi/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/AndelaEatsApi/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/AndelaEatsApi/contents/{+path}","compare_url":"https://api.github.com/repos/andela/AndelaEatsApi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/AndelaEatsApi/merges","archive_url":"https://api.github.com/repos/andela/AndelaEatsApi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/AndelaEatsApi/downloads","issues_url":"https://api.github.com/repos/andela/AndelaEatsApi/issues{/number}","pulls_url":"https://api.github.com/repos/andela/AndelaEatsApi/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/AndelaEatsApi/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/AndelaEatsApi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/AndelaEatsApi/labels{/name}","releases_url":"https://api.github.com/repos/andela/AndelaEatsApi/releases{/id}","deployments_url":"https://api.github.com/repos/andela/AndelaEatsApi/deployments","created_at":"2018-06-21T11:35:26Z","updated_at":"2019-02-11T20:11:31Z","pushed_at":"2019-02-11T20:11:59Z","git_url":"git://github.com/andela/AndelaEatsApi.git","ssh_url":"git@github.com:andela/AndelaEatsApi.git","clone_url":"https://github.com/andela/AndelaEatsApi.git","svn_url":"https://github.com/andela/AndelaEatsApi","homepage":"","size":457,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":1,"open_issues":0,"watchers":2,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/andela/AndelaEatsApi/pulls/182"},"html":{"href":"https://github.com/andela/AndelaEatsApi/pull/182"},"issue":{"href":"https://api.github.com/repos/andela/AndelaEatsApi/issues/182"},"comments":{"href":"https://api.github.com/repos/andela/AndelaEatsApi/issues/182/comments"},"review_comments":{"href":"https://api.github.com/repos/andela/AndelaEatsApi/pulls/182/comments"},"review_comment":{"href":"https://api.github.com/repos/andela/AndelaEatsApi/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/andela/AndelaEatsApi/pulls/182/commits"},"statuses":{"href":"https://api.github.com/repos/andela/AndelaEatsApi/statuses/e4ea4a3bba84889b726572e0d618106881532485"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"Maxcutex","id":27193978,"node_id":"MDQ6VXNlcjI3MTkzOTc4","avatar_url":"https://avatars0.githubusercontent.com/u/27193978?v=4","gravatar_id":"","url":"https://api.github.com/users/Maxcutex","html_url":"https://github.com/Maxcutex","followers_url":"https://api.github.com/users/Maxcutex/followers","following_url":"https://api.github.com/users/Maxcutex/following{/other_user}","gists_url":"https://api.github.com/users/Maxcutex/gists{/gist_id}","starred_url":"https://api.github.com/users/Maxcutex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Maxcutex/subscriptions","organizations_url":"https://api.github.com/users/Maxcutex/orgs","repos_url":"https://api.github.com/users/Maxcutex/repos","events_url":"https://api.github.com/users/Maxcutex/events{/privacy}","received_events_url":"https://api.github.com/users/Maxcutex/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":3,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"Maxcutex"}}