{"action":"created","comment":{"url":"https://api.github.com/repos/GoogleCloudPlatform/python-compat-runtime/pulls/comments/60129216","id":60129216,"diff_hunk":"@@ -0,0 +1,22 @@\n+import argparse\n+import sys\n+\n+import requests\n+\n+\n+def main(url):\n+    response = requests.get(url)\n+\n+    print(response.text)","path":"tests/e2e/client/main.py","position":10,"original_position":10,"commit_id":"e4badd8fc154c61bb78146cb058d57f8b681bfb8","original_commit_id":"e4badd8fc154c61bb78146cb058d57f8b681bfb8","user":{"login":"bryanmau1","id":1575001,"avatar_url":"https://avatars.githubusercontent.com/u/1575001?v=3","gravatar_id":"","url":"https://api.github.com/users/bryanmau1","html_url":"https://github.com/bryanmau1","followers_url":"https://api.github.com/users/bryanmau1/followers","following_url":"https://api.github.com/users/bryanmau1/following{/other_user}","gists_url":"https://api.github.com/users/bryanmau1/gists{/gist_id}","starred_url":"https://api.github.com/users/bryanmau1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bryanmau1/subscriptions","organizations_url":"https://api.github.com/users/bryanmau1/orgs","repos_url":"https://api.github.com/users/bryanmau1/repos","events_url":"https://api.github.com/users/bryanmau1/events{/privacy}","received_events_url":"https://api.github.com/users/bryanmau1/received_events","type":"User","site_admin":false},"body":"Do we want to send this to the terminal page?  As we add more and more tests this could be additional clutter.  Could we instead do an assert?","created_at":"2016-04-18T20:34:14Z","updated_at":"2016-04-18T20:34:14Z","html_url":"https://github.com/GoogleCloudPlatform/python-compat-runtime/pull/77#discussion_r60129216","pull_request_url":"https://api.github.com/repos/GoogleCloudPlatform/python-compat-runtime/pulls/77","_links":{"self":{"href":"https://api.github.com/repos/GoogleCloudPlatform/python-compat-runtime/pulls/comments/60129216"},"html":{"href":"https://github.com/GoogleCloudPlatform/python-compat-runtime/pull/77#discussion_r60129216"},"pull_request":{"href":"https://api.github.com/repos/GoogleCloudPlatform/python-compat-runtime/pulls/77"}}},"pull_request":{"url":"https://api.github.com/repos/GoogleCloudPlatform/python-compat-runtime/pulls/77","id":66896271,"html_url":"https://github.com/GoogleCloudPlatform/python-compat-runtime/pull/77","diff_url":"https://github.com/GoogleCloudPlatform/python-compat-runtime/pull/77.diff","patch_url":"https://github.com/GoogleCloudPlatform/python-compat-runtime/pull/77.patch","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/python-compat-runtime/issues/77","number":77,"state":"open","locked":false,"title":"Creating test harness for e2e tests.","user":{"login":"jonparrott","id":250995,"avatar_url":"https://avatars.githubusercontent.com/u/250995?v=3","gravatar_id":"","url":"https://api.github.com/users/jonparrott","html_url":"https://github.com/jonparrott","followers_url":"https://api.github.com/users/jonparrott/followers","following_url":"https://api.github.com/users/jonparrott/following{/other_user}","gists_url":"https://api.github.com/users/jonparrott/gists{/gist_id}","starred_url":"https://api.github.com/users/jonparrott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonparrott/subscriptions","organizations_url":"https://api.github.com/users/jonparrott/orgs","repos_url":"https://api.github.com/users/jonparrott/repos","events_url":"https://api.github.com/users/jonparrott/events{/privacy}","received_events_url":"https://api.github.com/users/jonparrott/received_events","type":"User","site_admin":false},"body":"@bryanmau1 PTAL, just want to sanity check the idea with you before I continue.\r\n\r\n* We will write e2e tests as regular py.test tests under `tests/e2e-app/tests` (we can put the elsewhere if you want, we just have to symlink so docker build will work).\r\n* To run the e2e tests, we'll deploy the app. Once the app is deployed, we'll run a small python program that will send a request to the e2e app that will in turn run the tests and return the output and status to the local program.","created_at":"2016-04-18T18:06:14Z","updated_at":"2016-04-18T20:34:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8353fa884f9b3009e6ded7481ae2d9c73ea3ac04","assignee":{"login":"bryanmau1","id":1575001,"avatar_url":"https://avatars.githubusercontent.com/u/1575001?v=3","gravatar_id":"","url":"https://api.github.com/users/bryanmau1","html_url":"https://github.com/bryanmau1","followers_url":"https://api.github.com/users/bryanmau1/followers","following_url":"https://api.github.com/users/bryanmau1/following{/other_user}","gists_url":"https://api.github.com/users/bryanmau1/gists{/gist_id}","starred_url":"https://api.github.com/users/bryanmau1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bryanmau1/subscriptions","organizations_url":"https://api.github.com/users/bryanmau1/orgs","repos_url":"https://api.github.com/users/bryanmau1/repos","events_url":"https://api.github.com/users/bryanmau1/events{/privacy}","received_events_url":"https://api.github.com/users/bryanmau1/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/GoogleCloudPlatform/python-compat-runtime/pulls/77/commits","review_comments_url":"https://api.github.com/repos/GoogleCloudPlatform/python-compat-runtime/pulls/77/comments","review_comment_url":"https://api.github.com/repos/GoogleCloudPlatform/python-compat-runtime/pulls/comments{/number}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/python-compat-runtime/issues/77/comments","statuses_url":"https://api.github.com/repos/GoogleCloudPlatform/python-compat-runtime/statuses/e4badd8fc154c61bb78146cb058d57f8b681bfb8","head":{"label":"GoogleCloudPlatform:test-harness","ref":"test-harness","sha":"e4badd8fc154c61bb78146cb058d57f8b681bfb8","user":{"login":"GoogleCloudPlatform","id":2810941,"avatar_url":"https://avatars.githubusercontent.com/u/2810941?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCloudPlatform","html_url":"https://github.com/GoogleCloudPlatform","followers_url":"https://api.github.com/users/GoogleCloudPlatform/followers","following_url":"https://api.github.com/users/GoogleCloudPlatform/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCloudPlatform/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCloudPlatform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCloudPlatform/subscriptions","organizations_url":"https://api.github.com/users/GoogleCloudPlatform/orgs","repos_url":"https://api.github.com/users/GoogleCloudPlatform/repos","events_url":"https://api.github.com/users/GoogleCloudPlatform/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCloudPlatform/received_events","type":"Organization","site_admin":false},"repo":{"id":29995176,"name":"python-compat-runtime","full_name":"GoogleCloudPlatform/python-compat-runtime","owner":{"login":"GoogleCloudPlatform","id":2810941,"avatar_url":"https://avatars.githubusercontent.com/u/2810941?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCloudPlatform","html_url":"https://github.com/GoogleCloudPlatform","followers_url":"https://api.github.com/users/GoogleCloudPlatform/followers","following_url":"https://api.github.com/users/GoogleCloudPlatform/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCloudPlatform/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCloudPlatform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCloudPlatform/subscriptions","organizations_url":"https://api.github.com/users/GoogleCloudPlatform/orgs","repos_url":"https://api.github.com/users/GoogleCloudPlatform/repos","events_url":"https://api.github.com/users/GoogleCloudPlatform/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCloudPlatform/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/GoogleCloudPlatform/python-compat-runtime","description":"Google Managed VMs Python Runtime","fork":false,"url":"https://api.github.com/repos/GoogleCloudPlatform/python-compat-runtime","forks_url":"https://api.github.com/repos/GoogleCloudPlatform/python-compat-runtime/forks","keys_url":"https://api.github.com/repos/GoogleCloudPlatform/python-compat-runtime/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GoogleCloudPlatform/python-compat-runtime/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GoogleCloudPlatform/python-compat-runtime/teams","hooks_url":"https://api.github.com/repos/GoogleCloudPlatform/python-compat-runtime/hooks","issue_events_url":"https://api.github.com/repos/GoogleCloudPlatform/python-compat-runtime/issues/events{/number}","events_url":"https://api.github.com/repos/GoogleCloudPlatform/python-compat-runtime/events","assignees_url":"https://api.github.com/repos/GoogleCloudPlatform/python-compat-runtime/assignees{/user}","branches_url":"https://api.github.com/repos/GoogleCloudPlatform/python-compat-runtime/branches{/branch}","tags_url":"https://api.github.com/repos/GoogleCloudPlatform/python-compat-runtime/tags","blobs_url":"https://api.github.com/repos/GoogleCloudPlatform/python-compat-runtime/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GoogleCloudPlatform/python-compat-runtime/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GoogleCloudPlatform/python-compat-runtime/git/refs{/sha}","trees_url":"https://api.github.com/repos/GoogleCloudPlatform/python-compat-runtime/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GoogleCloudPlatform/python-compat-runtime/statuses/{sha}","languages_url":"https://api.github.com/repos/GoogleCloudPlatform/python-compat-runtime/languages","stargazers_url":"https://api.github.com/repos/GoogleCloudPlatform/python-compat-runtime/stargazers","contributors_url":"https://api.github.com/repos/GoogleCloudPlatform/python-compat-runtime/contributors","subscribers_url":"https://api.github.com/repos/GoogleCloudPlatform/python-compat-runtime/subscribers","subscription_url":"https://api.github.com/repos/GoogleCloudPlatform/python-compat-runtime/subscription","commits_url":"https://api.github.com/repos/GoogleCloudPlatform/python-compat-runtime/commits{/sha}","git_commits_url":"https://api.github.com/repos/GoogleCloudPlatform/python-compat-runtime/git/commits{/sha}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/python-compat-runtime/comments{/number}","issue_comment_url":"https://api.github.com/repos/GoogleCloudPlatform/python-compat-runtime/issues/comments{/number}","contents_url":"https://api.github.com/repos/GoogleCloudPlatform/python-compat-runtime/contents/{+path}","compare_url":"https://api.github.com/repos/GoogleCloudPlatform/python-compat-runtime/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GoogleCloudPlatform/python-compat-runtime/merges","archive_url":"https://api.github.com/repos/GoogleCloudPlatform/python-compat-runtime/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GoogleCloudPlatform/python-compat-runtime/downloads","issues_url":"https://api.github.com/repos/GoogleCloudPlatform/python-compat-runtime/issues{/number}","pulls_url":"https://api.github.com/repos/GoogleCloudPlatform/python-compat-runtime/pulls{/number}","milestones_url":"https://api.github.com/repos/GoogleCloudPlatform/python-compat-runtime/milestones{/number}","notifications_url":"https://api.github.com/repos/GoogleCloudPlatform/python-compat-runtime/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/python-compat-runtime/labels{/name}","releases_url":"https://api.github.com/repos/GoogleCloudPlatform/python-compat-runtime/releases{/id}","deployments_url":"https://api.github.com/repos/GoogleCloudPlatform/python-compat-runtime/deployments","created_at":"2015-01-29T00:17:43Z","updated_at":"2016-04-17T08:42:13Z","pushed_at":"2016-04-18T20:27:20Z","git_url":"git://github.com/GoogleCloudPlatform/python-compat-runtime.git","ssh_url":"git@github.com:GoogleCloudPlatform/python-compat-runtime.git","clone_url":"https://github.com/GoogleCloudPlatform/python-compat-runtime.git","svn_url":"https://github.com/GoogleCloudPlatform/python-compat-runtime","homepage":"","size":80205,"stargazers_count":19,"watchers_count":19,"language":"Python","has_issues":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":7,"forks":9,"open_issues":7,"watchers":19,"default_branch":"master"}},"base":{"label":"GoogleCloudPlatform:master","ref":"master","sha":"a25049e56d4b29cce4ab9a47c5b97b69a3f09680","user":{"login":"GoogleCloudPlatform","id":2810941,"avatar_url":"https://avatars.githubusercontent.com/u/2810941?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCloudPlatform","html_url":"https://github.com/GoogleCloudPlatform","followers_url":"https://api.github.com/users/GoogleCloudPlatform/followers","following_url":"https://api.github.com/users/GoogleCloudPlatform/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCloudPlatform/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCloudPlatform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCloudPlatform/subscriptions","organizations_url":"https://api.github.com/users/GoogleCloudPlatform/orgs","repos_url":"https://api.github.com/users/GoogleCloudPlatform/repos","events_url":"https://api.github.com/users/GoogleCloudPlatform/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCloudPlatform/received_events","type":"Organization","site_admin":false},"repo":{"id":29995176,"name":"python-compat-runtime","full_name":"GoogleCloudPlatform/python-compat-runtime","owner":{"login":"GoogleCloudPlatform","id":2810941,"avatar_url":"https://avatars.githubusercontent.com/u/2810941?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCloudPlatform","html_url":"https://github.com/GoogleCloudPlatform","followers_url":"https://api.github.com/users/GoogleCloudPlatform/followers","following_url":"https://api.github.com/users/GoogleCloudPlatform/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCloudPlatform/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCloudPlatform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCloudPlatform/subscriptions","organizations_url":"https://api.github.com/users/GoogleCloudPlatform/orgs","repos_url":"https://api.github.com/users/GoogleCloudPlatform/repos","events_url":"https://api.github.com/users/GoogleCloudPlatform/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCloudPlatform/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/GoogleCloudPlatform/python-compat-runtime","description":"Google Managed VMs Python Runtime","fork":false,"url":"https://api.github.com/repos/GoogleCloudPlatform/python-compat-runtime","forks_url":"https://api.github.com/repos/GoogleCloudPlatform/python-compat-runtime/forks","keys_url":"https://api.github.com/repos/GoogleCloudPlatform/python-compat-runtime/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GoogleCloudPlatform/python-compat-runtime/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GoogleCloudPlatform/python-compat-runtime/teams","hooks_url":"https://api.github.com/repos/GoogleCloudPlatform/python-compat-runtime/hooks","issue_events_url":"https://api.github.com/repos/GoogleCloudPlatform/python-compat-runtime/issues/events{/number}","events_url":"https://api.github.com/repos/GoogleCloudPlatform/python-compat-runtime/events","assignees_url":"https://api.github.com/repos/GoogleCloudPlatform/python-compat-runtime/assignees{/user}","branches_url":"https://api.github.com/repos/GoogleCloudPlatform/python-compat-runtime/branches{/branch}","tags_url":"https://api.github.com/repos/GoogleCloudPlatform/python-compat-runtime/tags","blobs_url":"https://api.github.com/repos/GoogleCloudPlatform/python-compat-runtime/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GoogleCloudPlatform/python-compat-runtime/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GoogleCloudPlatform/python-compat-runtime/git/refs{/sha}","trees_url":"https://api.github.com/repos/GoogleCloudPlatform/python-compat-runtime/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GoogleCloudPlatform/python-compat-runtime/statuses/{sha}","languages_url":"https://api.github.com/repos/GoogleCloudPlatform/python-compat-runtime/languages","stargazers_url":"https://api.github.com/repos/GoogleCloudPlatform/python-compat-runtime/stargazers","contributors_url":"https://api.github.com/repos/GoogleCloudPlatform/python-compat-runtime/contributors","subscribers_url":"https://api.github.com/repos/GoogleCloudPlatform/python-compat-runtime/subscribers","subscription_url":"https://api.github.com/repos/GoogleCloudPlatform/python-compat-runtime/subscription","commits_url":"https://api.github.com/repos/GoogleCloudPlatform/python-compat-runtime/commits{/sha}","git_commits_url":"https://api.github.com/repos/GoogleCloudPlatform/python-compat-runtime/git/commits{/sha}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/python-compat-runtime/comments{/number}","issue_comment_url":"https://api.github.com/repos/GoogleCloudPlatform/python-compat-runtime/issues/comments{/number}","contents_url":"https://api.github.com/repos/GoogleCloudPlatform/python-compat-runtime/contents/{+path}","compare_url":"https://api.github.com/repos/GoogleCloudPlatform/python-compat-runtime/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GoogleCloudPlatform/python-compat-runtime/merges","archive_url":"https://api.github.com/repos/GoogleCloudPlatform/python-compat-runtime/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GoogleCloudPlatform/python-compat-runtime/downloads","issues_url":"https://api.github.com/repos/GoogleCloudPlatform/python-compat-runtime/issues{/number}","pulls_url":"https://api.github.com/repos/GoogleCloudPlatform/python-compat-runtime/pulls{/number}","milestones_url":"https://api.github.com/repos/GoogleCloudPlatform/python-compat-runtime/milestones{/number}","notifications_url":"https://api.github.com/repos/GoogleCloudPlatform/python-compat-runtime/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/python-compat-runtime/labels{/name}","releases_url":"https://api.github.com/repos/GoogleCloudPlatform/python-compat-runtime/releases{/id}","deployments_url":"https://api.github.com/repos/GoogleCloudPlatform/python-compat-runtime/deployments","created_at":"2015-01-29T00:17:43Z","updated_at":"2016-04-17T08:42:13Z","pushed_at":"2016-04-18T20:27:20Z","git_url":"git://github.com/GoogleCloudPlatform/python-compat-runtime.git","ssh_url":"git@github.com:GoogleCloudPlatform/python-compat-runtime.git","clone_url":"https://github.com/GoogleCloudPlatform/python-compat-runtime.git","svn_url":"https://github.com/GoogleCloudPlatform/python-compat-runtime","homepage":"","size":80205,"stargazers_count":19,"watchers_count":19,"language":"Python","has_issues":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":7,"forks":9,"open_issues":7,"watchers":19,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/GoogleCloudPlatform/python-compat-runtime/pulls/77"},"html":{"href":"https://github.com/GoogleCloudPlatform/python-compat-runtime/pull/77"},"issue":{"href":"https://api.github.com/repos/GoogleCloudPlatform/python-compat-runtime/issues/77"},"comments":{"href":"https://api.github.com/repos/GoogleCloudPlatform/python-compat-runtime/issues/77/comments"},"review_comments":{"href":"https://api.github.com/repos/GoogleCloudPlatform/python-compat-runtime/pulls/77/comments"},"review_comment":{"href":"https://api.github.com/repos/GoogleCloudPlatform/python-compat-runtime/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/GoogleCloudPlatform/python-compat-runtime/pulls/77/commits"},"statuses":{"href":"https://api.github.com/repos/GoogleCloudPlatform/python-compat-runtime/statuses/e4badd8fc154c61bb78146cb058d57f8b681bfb8"}}}}