{"action":"created","comment":{"url":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords/pulls/comments/194583257","pull_request_review_id":127783256,"id":194583257,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5NDU4MzI1Nw==","diff_hunk":"@@ -0,0 +1,155 @@\n+# -*- coding: utf-8 -*-\n+\"\"\"Test Main Module\n+\n+This module contains the tests for the OpenRecords `/` endpoint.\n+\n+.. _Flask Tutorial:\n+   http://flask.pocoo.org/docs/1.0/tutorial/\n+\"\"\"\n+\n+import pytest\n+\n+from flask import Flask\n+\n+\n+def test_index(client: Flask.test_client):\n+    \"\"\" Test the `/` endpoint works properly.\n+\n+    Args:\n+        client (Flask.test_client): The test client used to access the endpoint\n+    \"\"\"\n+    response = client.get(\"/\")\n+    assert b\"\"\"<button class=\"btn btn-primary btn-lg btn-block request-record-button-size\">Check for Similar Requests</button>\"\"\" in response.data","path":"tests/functional/test_main.py","position":22,"original_position":22,"commit_id":"62b86b34166f13a759916208896ca788ca26b62f","original_commit_id":"62b86b34166f13a759916208896ca788ca26b62f","user":{"login":"codacy-bot","id":19940114,"node_id":"MDQ6VXNlcjE5OTQwMTE0","avatar_url":"https://avatars1.githubusercontent.com/u/19940114?v=4","gravatar_id":"","url":"https://api.github.com/users/codacy-bot","html_url":"https://github.com/codacy-bot","followers_url":"https://api.github.com/users/codacy-bot/followers","following_url":"https://api.github.com/users/codacy-bot/following{/other_user}","gists_url":"https://api.github.com/users/codacy-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/codacy-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codacy-bot/subscriptions","organizations_url":"https://api.github.com/users/codacy-bot/orgs","repos_url":"https://api.github.com/users/codacy-bot/repos","events_url":"https://api.github.com/users/codacy-bot/events{/privacy}","received_events_url":"https://api.github.com/users/codacy-bot/received_events","type":"User","site_admin":false},"body":"![Codacy](https://app.codacy.com/assets/images/favicon.png) Issue found: [Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.](https://app.codacy.com/app/NYCRecords/NYCOpenRecords/pullRequest?prid=1757817)","created_at":"2018-06-12T00:09:34Z","updated_at":"2018-06-12T00:09:34Z","html_url":"https://github.com/CityOfNewYork/NYCOpenRecords/pull/375#discussion_r194583257","pull_request_url":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords/pulls/375","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords/pulls/comments/194583257"},"html":{"href":"https://github.com/CityOfNewYork/NYCOpenRecords/pull/375#discussion_r194583257"},"pull_request":{"href":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords/pulls/375"}}},"pull_request":{"url":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords/pulls/375","id":193710756,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkzNzEwNzU2","html_url":"https://github.com/CityOfNewYork/NYCOpenRecords/pull/375","diff_url":"https://github.com/CityOfNewYork/NYCOpenRecords/pull/375.diff","patch_url":"https://github.com/CityOfNewYork/NYCOpenRecords/pull/375.patch","issue_url":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords/issues/375","number":375,"state":"open","locked":false,"title":"Feature/OP-1496: Pytest for OpenRecords","user":{"login":"joelbcastillo","id":3308161,"node_id":"MDQ6VXNlcjMzMDgxNjE=","avatar_url":"https://avatars1.githubusercontent.com/u/3308161?v=4","gravatar_id":"","url":"https://api.github.com/users/joelbcastillo","html_url":"https://github.com/joelbcastillo","followers_url":"https://api.github.com/users/joelbcastillo/followers","following_url":"https://api.github.com/users/joelbcastillo/following{/other_user}","gists_url":"https://api.github.com/users/joelbcastillo/gists{/gist_id}","starred_url":"https://api.github.com/users/joelbcastillo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joelbcastillo/subscriptions","organizations_url":"https://api.github.com/users/joelbcastillo/orgs","repos_url":"https://api.github.com/users/joelbcastillo/repos","events_url":"https://api.github.com/users/joelbcastillo/events{/privacy}","received_events_url":"https://api.github.com/users/joelbcastillo/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-06-08T20:03:53Z","updated_at":"2018-06-12T00:09:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5708e6162be567c349b24300fd7a802c26c4e66f","assignee":{"login":"johnyu95","id":20359562,"node_id":"MDQ6VXNlcjIwMzU5NTYy","avatar_url":"https://avatars2.githubusercontent.com/u/20359562?v=4","gravatar_id":"","url":"https://api.github.com/users/johnyu95","html_url":"https://github.com/johnyu95","followers_url":"https://api.github.com/users/johnyu95/followers","following_url":"https://api.github.com/users/johnyu95/following{/other_user}","gists_url":"https://api.github.com/users/johnyu95/gists{/gist_id}","starred_url":"https://api.github.com/users/johnyu95/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnyu95/subscriptions","organizations_url":"https://api.github.com/users/johnyu95/orgs","repos_url":"https://api.github.com/users/johnyu95/repos","events_url":"https://api.github.com/users/johnyu95/events{/privacy}","received_events_url":"https://api.github.com/users/johnyu95/received_events","type":"User","site_admin":false},"assignees":[{"login":"johnyu95","id":20359562,"node_id":"MDQ6VXNlcjIwMzU5NTYy","avatar_url":"https://avatars2.githubusercontent.com/u/20359562?v=4","gravatar_id":"","url":"https://api.github.com/users/johnyu95","html_url":"https://github.com/johnyu95","followers_url":"https://api.github.com/users/johnyu95/followers","following_url":"https://api.github.com/users/johnyu95/following{/other_user}","gists_url":"https://api.github.com/users/johnyu95/gists{/gist_id}","starred_url":"https://api.github.com/users/johnyu95/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnyu95/subscriptions","organizations_url":"https://api.github.com/users/johnyu95/orgs","repos_url":"https://api.github.com/users/johnyu95/repos","events_url":"https://api.github.com/users/johnyu95/events{/privacy}","received_events_url":"https://api.github.com/users/johnyu95/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":620168850,"node_id":"MDU6TGFiZWw2MjAxNjg4NTA=","url":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords/labels/ready%20for%20review","name":"ready for review","color":"c5def5","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords/pulls/375/commits","review_comments_url":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords/pulls/375/comments","review_comment_url":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords/issues/375/comments","statuses_url":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords/statuses/62b86b34166f13a759916208896ca788ca26b62f","head":{"label":"CityOfNewYork:feature/OP-1496","ref":"feature/OP-1496","sha":"62b86b34166f13a759916208896ca788ca26b62f","user":{"login":"CityOfNewYork","id":1107978,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExMDc5Nzg=","avatar_url":"https://avatars2.githubusercontent.com/u/1107978?v=4","gravatar_id":"","url":"https://api.github.com/users/CityOfNewYork","html_url":"https://github.com/CityOfNewYork","followers_url":"https://api.github.com/users/CityOfNewYork/followers","following_url":"https://api.github.com/users/CityOfNewYork/following{/other_user}","gists_url":"https://api.github.com/users/CityOfNewYork/gists{/gist_id}","starred_url":"https://api.github.com/users/CityOfNewYork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CityOfNewYork/subscriptions","organizations_url":"https://api.github.com/users/CityOfNewYork/orgs","repos_url":"https://api.github.com/users/CityOfNewYork/repos","events_url":"https://api.github.com/users/CityOfNewYork/events{/privacy}","received_events_url":"https://api.github.com/users/CityOfNewYork/received_events","type":"Organization","site_admin":false},"repo":{"id":36671696,"node_id":"MDEwOlJlcG9zaXRvcnkzNjY3MTY5Ng==","name":"NYCOpenRecords","full_name":"CityOfNewYork/NYCOpenRecords","owner":{"login":"CityOfNewYork","id":1107978,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExMDc5Nzg=","avatar_url":"https://avatars2.githubusercontent.com/u/1107978?v=4","gravatar_id":"","url":"https://api.github.com/users/CityOfNewYork","html_url":"https://github.com/CityOfNewYork","followers_url":"https://api.github.com/users/CityOfNewYork/followers","following_url":"https://api.github.com/users/CityOfNewYork/following{/other_user}","gists_url":"https://api.github.com/users/CityOfNewYork/gists{/gist_id}","starred_url":"https://api.github.com/users/CityOfNewYork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CityOfNewYork/subscriptions","organizations_url":"https://api.github.com/users/CityOfNewYork/orgs","repos_url":"https://api.github.com/users/CityOfNewYork/repos","events_url":"https://api.github.com/users/CityOfNewYork/events{/privacy}","received_events_url":"https://api.github.com/users/CityOfNewYork/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CityOfNewYork/NYCOpenRecords","description":"A web application to submit and view Freedom of Information Law requests","fork":false,"url":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords","forks_url":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords/forks","keys_url":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords/teams","hooks_url":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords/hooks","issue_events_url":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords/issues/events{/number}","events_url":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords/events","assignees_url":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords/assignees{/user}","branches_url":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords/branches{/branch}","tags_url":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords/tags","blobs_url":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords/git/refs{/sha}","trees_url":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords/statuses/{sha}","languages_url":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords/languages","stargazers_url":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords/stargazers","contributors_url":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords/contributors","subscribers_url":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords/subscribers","subscription_url":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords/subscription","commits_url":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords/commits{/sha}","git_commits_url":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords/git/commits{/sha}","comments_url":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords/comments{/number}","issue_comment_url":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords/issues/comments{/number}","contents_url":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords/contents/{+path}","compare_url":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords/merges","archive_url":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords/downloads","issues_url":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords/issues{/number}","pulls_url":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords/pulls{/number}","milestones_url":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords/milestones{/number}","notifications_url":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords/labels{/name}","releases_url":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords/releases{/id}","deployments_url":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords/deployments","created_at":"2015-06-01T15:56:23Z","updated_at":"2018-06-11T19:14:40Z","pushed_at":"2018-06-11T21:44:36Z","git_url":"git://github.com/CityOfNewYork/NYCOpenRecords.git","ssh_url":"git@github.com:CityOfNewYork/NYCOpenRecords.git","clone_url":"https://github.com/CityOfNewYork/NYCOpenRecords.git","svn_url":"https://github.com/CityOfNewYork/NYCOpenRecords","homepage":"http://nyc.gov/openrecords","size":47427,"stargazers_count":25,"watchers_count":25,"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":5,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":4,"open_issues":5,"watchers":25,"default_branch":"develop"}},"base":{"label":"CityOfNewYork:develop","ref":"develop","sha":"1c7d8025a7a9173b1f35751f927dcce09210153c","user":{"login":"CityOfNewYork","id":1107978,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExMDc5Nzg=","avatar_url":"https://avatars2.githubusercontent.com/u/1107978?v=4","gravatar_id":"","url":"https://api.github.com/users/CityOfNewYork","html_url":"https://github.com/CityOfNewYork","followers_url":"https://api.github.com/users/CityOfNewYork/followers","following_url":"https://api.github.com/users/CityOfNewYork/following{/other_user}","gists_url":"https://api.github.com/users/CityOfNewYork/gists{/gist_id}","starred_url":"https://api.github.com/users/CityOfNewYork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CityOfNewYork/subscriptions","organizations_url":"https://api.github.com/users/CityOfNewYork/orgs","repos_url":"https://api.github.com/users/CityOfNewYork/repos","events_url":"https://api.github.com/users/CityOfNewYork/events{/privacy}","received_events_url":"https://api.github.com/users/CityOfNewYork/received_events","type":"Organization","site_admin":false},"repo":{"id":36671696,"node_id":"MDEwOlJlcG9zaXRvcnkzNjY3MTY5Ng==","name":"NYCOpenRecords","full_name":"CityOfNewYork/NYCOpenRecords","owner":{"login":"CityOfNewYork","id":1107978,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExMDc5Nzg=","avatar_url":"https://avatars2.githubusercontent.com/u/1107978?v=4","gravatar_id":"","url":"https://api.github.com/users/CityOfNewYork","html_url":"https://github.com/CityOfNewYork","followers_url":"https://api.github.com/users/CityOfNewYork/followers","following_url":"https://api.github.com/users/CityOfNewYork/following{/other_user}","gists_url":"https://api.github.com/users/CityOfNewYork/gists{/gist_id}","starred_url":"https://api.github.com/users/CityOfNewYork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CityOfNewYork/subscriptions","organizations_url":"https://api.github.com/users/CityOfNewYork/orgs","repos_url":"https://api.github.com/users/CityOfNewYork/repos","events_url":"https://api.github.com/users/CityOfNewYork/events{/privacy}","received_events_url":"https://api.github.com/users/CityOfNewYork/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CityOfNewYork/NYCOpenRecords","description":"A web application to submit and view Freedom of Information Law requests","fork":false,"url":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords","forks_url":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords/forks","keys_url":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords/teams","hooks_url":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords/hooks","issue_events_url":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords/issues/events{/number}","events_url":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords/events","assignees_url":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords/assignees{/user}","branches_url":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords/branches{/branch}","tags_url":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords/tags","blobs_url":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords/git/refs{/sha}","trees_url":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords/statuses/{sha}","languages_url":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords/languages","stargazers_url":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords/stargazers","contributors_url":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords/contributors","subscribers_url":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords/subscribers","subscription_url":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords/subscription","commits_url":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords/commits{/sha}","git_commits_url":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords/git/commits{/sha}","comments_url":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords/comments{/number}","issue_comment_url":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords/issues/comments{/number}","contents_url":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords/contents/{+path}","compare_url":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords/merges","archive_url":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords/downloads","issues_url":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords/issues{/number}","pulls_url":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords/pulls{/number}","milestones_url":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords/milestones{/number}","notifications_url":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords/labels{/name}","releases_url":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords/releases{/id}","deployments_url":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords/deployments","created_at":"2015-06-01T15:56:23Z","updated_at":"2018-06-11T19:14:40Z","pushed_at":"2018-06-11T21:44:36Z","git_url":"git://github.com/CityOfNewYork/NYCOpenRecords.git","ssh_url":"git@github.com:CityOfNewYork/NYCOpenRecords.git","clone_url":"https://github.com/CityOfNewYork/NYCOpenRecords.git","svn_url":"https://github.com/CityOfNewYork/NYCOpenRecords","homepage":"http://nyc.gov/openrecords","size":47427,"stargazers_count":25,"watchers_count":25,"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":5,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":4,"open_issues":5,"watchers":25,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords/pulls/375"},"html":{"href":"https://github.com/CityOfNewYork/NYCOpenRecords/pull/375"},"issue":{"href":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords/issues/375"},"comments":{"href":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords/issues/375/comments"},"review_comments":{"href":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords/pulls/375/comments"},"review_comment":{"href":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords/pulls/375/commits"},"statuses":{"href":"https://api.github.com/repos/CityOfNewYork/NYCOpenRecords/statuses/62b86b34166f13a759916208896ca788ca26b62f"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"codacy-bot"}}