{"action":"created","comment":{"url":"https://api.github.com/repos/ManageIQ/integration_tests/pulls/comments/194365968","pull_request_review_id":127522140,"id":194365968,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5NDM2NTk2OA==","diff_hunk":"@@ -0,0 +1,124 @@\n+# -*- coding: utf-8 -*-\n+import fauxfactory\n+import pytest\n+\n+from cfme.cloud.provider import CloudProvider\n+from cfme.common.provider import DefaultEndpointForm\n+from cfme.utils import conf\n+from cfme.utils.appliance.implementations.ui import navigate_to\n+from cfme.utils.providers import get_mgmt\n+from cfme.utils.ssh import SSHClient\n+from cfme.utils.virtual_machines import deploy_template\n+from cfme.utils.wait import wait_for\n+\n+pytestmark = [\n+    pytest.mark.tier(3),\n+    pytest.mark.provider([CloudProvider], scope='module')\n+]\n+\n+\n+@pytest.fixture(scope=\"module\")\n+def proxy_machine():\n+    \"\"\" Deploy vm for proxy test\n+\n+    This fixture uses for deploy vm on provider from yaml and then receive it's ip\n+    After test run vm deletes from provider\n+    \"\"\"\n+    depot_machine_name = \"test_proxy_{}\".format(fauxfactory.gen_alphanumeric())\n+    data = conf.cfme_data.get(\"proxy_template\")\n+    proxy_provider_key = data[\"provider\"]\n+    proxy_template_name = data[\"template_name\"]\n+    proxy_port = data['port']\n+    prov = get_mgmt(proxy_provider_key)\n+    deploy_template(proxy_provider_key,\n+                    depot_machine_name,\n+                    template_name=proxy_template_name)\n+    yield prov.get_ip_address(depot_machine_name), proxy_port\n+    prov.delete_vm(depot_machine_name)\n+\n+\n+def validate_provider(provider, valid_proxy=True):","path":"cfme/tests/configure/test_proxy.py","position":40,"original_position":40,"commit_id":"c533cc0253a8f6251afa93470e7a294f4f65b980","original_commit_id":"c533cc0253a8f6251afa93470e7a294f4f65b980","user":{"login":"otsuman","id":20817708,"node_id":"MDQ6VXNlcjIwODE3NzA4","avatar_url":"https://avatars2.githubusercontent.com/u/20817708?v=4","gravatar_id":"","url":"https://api.github.com/users/otsuman","html_url":"https://github.com/otsuman","followers_url":"https://api.github.com/users/otsuman/followers","following_url":"https://api.github.com/users/otsuman/following{/other_user}","gists_url":"https://api.github.com/users/otsuman/gists{/gist_id}","starred_url":"https://api.github.com/users/otsuman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/otsuman/subscriptions","organizations_url":"https://api.github.com/users/otsuman/orgs","repos_url":"https://api.github.com/users/otsuman/repos","events_url":"https://api.github.com/users/otsuman/events{/privacy}","received_events_url":"https://api.github.com/users/otsuman/received_events","type":"User","site_admin":false},"body":"This validate method just checking is provider refreshed or not and if not trying to refresh it. But I need a little bit different verification","created_at":"2018-06-11T11:02:54Z","updated_at":"2018-06-11T11:02:54Z","html_url":"https://github.com/ManageIQ/integration_tests/pull/6942#discussion_r194365968","pull_request_url":"https://api.github.com/repos/ManageIQ/integration_tests/pulls/6942","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/ManageIQ/integration_tests/pulls/comments/194365968"},"html":{"href":"https://github.com/ManageIQ/integration_tests/pull/6942#discussion_r194365968"},"pull_request":{"href":"https://api.github.com/repos/ManageIQ/integration_tests/pulls/6942"}},"in_reply_to_id":193993847},"pull_request":{"url":"https://api.github.com/repos/ManageIQ/integration_tests/pulls/6942","id":176608934,"node_id":"MDExOlB1bGxSZXF1ZXN0MTc2NjA4OTM0","html_url":"https://github.com/ManageIQ/integration_tests/pull/6942","diff_url":"https://github.com/ManageIQ/integration_tests/pull/6942.diff","patch_url":"https://github.com/ManageIQ/integration_tests/pull/6942.patch","issue_url":"https://api.github.com/repos/ManageIQ/integration_tests/issues/6942","number":6942,"state":"open","locked":false,"title":"[WIP] New proxy tests","user":{"login":"otsuman","id":20817708,"node_id":"MDQ6VXNlcjIwODE3NzA4","avatar_url":"https://avatars2.githubusercontent.com/u/20817708?v=4","gravatar_id":"","url":"https://api.github.com/users/otsuman","html_url":"https://github.com/otsuman","followers_url":"https://api.github.com/users/otsuman/followers","following_url":"https://api.github.com/users/otsuman/following{/other_user}","gists_url":"https://api.github.com/users/otsuman/gists{/gist_id}","starred_url":"https://api.github.com/users/otsuman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/otsuman/subscriptions","organizations_url":"https://api.github.com/users/otsuman/orgs","repos_url":"https://api.github.com/users/otsuman/repos","events_url":"https://api.github.com/users/otsuman/events{/privacy}","received_events_url":"https://api.github.com/users/otsuman/received_events","type":"User","site_admin":false},"body":"{{pytest: cfme/tests/configure/test_proxy.py --use-provider ec2west }}","created_at":"2018-03-21T21:02:39Z","updated_at":"2018-06-11T11:02:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"21604cf101852ef61f423fb7e202d2b561ecd077","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":66915689,"node_id":"MDU6TGFiZWw2NjkxNTY4OQ==","url":"https://api.github.com/repos/ManageIQ/integration_tests/labels/WIP","name":"WIP","color":"fbca04","default":false},{"id":118710104,"node_id":"MDU6TGFiZWwxMTg3MTAxMDQ=","url":"https://api.github.com/repos/ManageIQ/integration_tests/labels/lint-ok","name":"lint-ok","color":"ffffff","default":false},{"id":469132575,"node_id":"MDU6TGFiZWw0NjkxMzI1NzU=","url":"https://api.github.com/repos/ManageIQ/integration_tests/labels/new-test-or-feature","name":"new-test-or-feature","color":"ffff55","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/ManageIQ/integration_tests/pulls/6942/commits","review_comments_url":"https://api.github.com/repos/ManageIQ/integration_tests/pulls/6942/comments","review_comment_url":"https://api.github.com/repos/ManageIQ/integration_tests/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ManageIQ/integration_tests/issues/6942/comments","statuses_url":"https://api.github.com/repos/ManageIQ/integration_tests/statuses/c533cc0253a8f6251afa93470e7a294f4f65b980","head":{"label":"otsuman:new_proxy_tests","ref":"new_proxy_tests","sha":"c533cc0253a8f6251afa93470e7a294f4f65b980","user":{"login":"otsuman","id":20817708,"node_id":"MDQ6VXNlcjIwODE3NzA4","avatar_url":"https://avatars2.githubusercontent.com/u/20817708?v=4","gravatar_id":"","url":"https://api.github.com/users/otsuman","html_url":"https://github.com/otsuman","followers_url":"https://api.github.com/users/otsuman/followers","following_url":"https://api.github.com/users/otsuman/following{/other_user}","gists_url":"https://api.github.com/users/otsuman/gists{/gist_id}","starred_url":"https://api.github.com/users/otsuman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/otsuman/subscriptions","organizations_url":"https://api.github.com/users/otsuman/orgs","repos_url":"https://api.github.com/users/otsuman/repos","events_url":"https://api.github.com/users/otsuman/events{/privacy}","received_events_url":"https://api.github.com/users/otsuman/received_events","type":"User","site_admin":false},"repo":{"id":65203651,"node_id":"MDEwOlJlcG9zaXRvcnk2NTIwMzY1MQ==","name":"integration_tests","full_name":"otsuman/integration_tests","owner":{"login":"otsuman","id":20817708,"node_id":"MDQ6VXNlcjIwODE3NzA4","avatar_url":"https://avatars2.githubusercontent.com/u/20817708?v=4","gravatar_id":"","url":"https://api.github.com/users/otsuman","html_url":"https://github.com/otsuman","followers_url":"https://api.github.com/users/otsuman/followers","following_url":"https://api.github.com/users/otsuman/following{/other_user}","gists_url":"https://api.github.com/users/otsuman/gists{/gist_id}","starred_url":"https://api.github.com/users/otsuman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/otsuman/subscriptions","organizations_url":"https://api.github.com/users/otsuman/orgs","repos_url":"https://api.github.com/users/otsuman/repos","events_url":"https://api.github.com/users/otsuman/events{/privacy}","received_events_url":"https://api.github.com/users/otsuman/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/otsuman/integration_tests","description":"ManageIQ integration tests","fork":true,"url":"https://api.github.com/repos/otsuman/integration_tests","forks_url":"https://api.github.com/repos/otsuman/integration_tests/forks","keys_url":"https://api.github.com/repos/otsuman/integration_tests/keys{/key_id}","collaborators_url":"https://api.github.com/repos/otsuman/integration_tests/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/otsuman/integration_tests/teams","hooks_url":"https://api.github.com/repos/otsuman/integration_tests/hooks","issue_events_url":"https://api.github.com/repos/otsuman/integration_tests/issues/events{/number}","events_url":"https://api.github.com/repos/otsuman/integration_tests/events","assignees_url":"https://api.github.com/repos/otsuman/integration_tests/assignees{/user}","branches_url":"https://api.github.com/repos/otsuman/integration_tests/branches{/branch}","tags_url":"https://api.github.com/repos/otsuman/integration_tests/tags","blobs_url":"https://api.github.com/repos/otsuman/integration_tests/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/otsuman/integration_tests/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/otsuman/integration_tests/git/refs{/sha}","trees_url":"https://api.github.com/repos/otsuman/integration_tests/git/trees{/sha}","statuses_url":"https://api.github.com/repos/otsuman/integration_tests/statuses/{sha}","languages_url":"https://api.github.com/repos/otsuman/integration_tests/languages","stargazers_url":"https://api.github.com/repos/otsuman/integration_tests/stargazers","contributors_url":"https://api.github.com/repos/otsuman/integration_tests/contributors","subscribers_url":"https://api.github.com/repos/otsuman/integration_tests/subscribers","subscription_url":"https://api.github.com/repos/otsuman/integration_tests/subscription","commits_url":"https://api.github.com/repos/otsuman/integration_tests/commits{/sha}","git_commits_url":"https://api.github.com/repos/otsuman/integration_tests/git/commits{/sha}","comments_url":"https://api.github.com/repos/otsuman/integration_tests/comments{/number}","issue_comment_url":"https://api.github.com/repos/otsuman/integration_tests/issues/comments{/number}","contents_url":"https://api.github.com/repos/otsuman/integration_tests/contents/{+path}","compare_url":"https://api.github.com/repos/otsuman/integration_tests/compare/{base}...{head}","merges_url":"https://api.github.com/repos/otsuman/integration_tests/merges","archive_url":"https://api.github.com/repos/otsuman/integration_tests/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/otsuman/integration_tests/downloads","issues_url":"https://api.github.com/repos/otsuman/integration_tests/issues{/number}","pulls_url":"https://api.github.com/repos/otsuman/integration_tests/pulls{/number}","milestones_url":"https://api.github.com/repos/otsuman/integration_tests/milestones{/number}","notifications_url":"https://api.github.com/repos/otsuman/integration_tests/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/otsuman/integration_tests/labels{/name}","releases_url":"https://api.github.com/repos/otsuman/integration_tests/releases{/id}","deployments_url":"https://api.github.com/repos/otsuman/integration_tests/deployments","created_at":"2016-08-08T12:47:37Z","updated_at":"2016-08-08T12:47:39Z","pushed_at":"2018-06-05T18:25:31Z","git_url":"git://github.com/otsuman/integration_tests.git","ssh_url":"git@github.com:otsuman/integration_tests.git","clone_url":"https://github.com/otsuman/integration_tests.git","svn_url":"https://github.com/otsuman/integration_tests","homepage":"","size":26620,"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":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ManageIQ:master","ref":"master","sha":"3ac84b3e950d61848956a07dcaa1c020fc51b911","user":{"login":"ManageIQ","id":1125575,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExMjU1NzU=","avatar_url":"https://avatars0.githubusercontent.com/u/1125575?v=4","gravatar_id":"","url":"https://api.github.com/users/ManageIQ","html_url":"https://github.com/ManageIQ","followers_url":"https://api.github.com/users/ManageIQ/followers","following_url":"https://api.github.com/users/ManageIQ/following{/other_user}","gists_url":"https://api.github.com/users/ManageIQ/gists{/gist_id}","starred_url":"https://api.github.com/users/ManageIQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ManageIQ/subscriptions","organizations_url":"https://api.github.com/users/ManageIQ/orgs","repos_url":"https://api.github.com/users/ManageIQ/repos","events_url":"https://api.github.com/users/ManageIQ/events{/privacy}","received_events_url":"https://api.github.com/users/ManageIQ/received_events","type":"Organization","site_admin":false},"repo":{"id":8061086,"node_id":"MDEwOlJlcG9zaXRvcnk4MDYxMDg2","name":"integration_tests","full_name":"ManageIQ/integration_tests","owner":{"login":"ManageIQ","id":1125575,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExMjU1NzU=","avatar_url":"https://avatars0.githubusercontent.com/u/1125575?v=4","gravatar_id":"","url":"https://api.github.com/users/ManageIQ","html_url":"https://github.com/ManageIQ","followers_url":"https://api.github.com/users/ManageIQ/followers","following_url":"https://api.github.com/users/ManageIQ/following{/other_user}","gists_url":"https://api.github.com/users/ManageIQ/gists{/gist_id}","starred_url":"https://api.github.com/users/ManageIQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ManageIQ/subscriptions","organizations_url":"https://api.github.com/users/ManageIQ/orgs","repos_url":"https://api.github.com/users/ManageIQ/repos","events_url":"https://api.github.com/users/ManageIQ/events{/privacy}","received_events_url":"https://api.github.com/users/ManageIQ/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ManageIQ/integration_tests","description":"ManageIQ integration tests","fork":false,"url":"https://api.github.com/repos/ManageIQ/integration_tests","forks_url":"https://api.github.com/repos/ManageIQ/integration_tests/forks","keys_url":"https://api.github.com/repos/ManageIQ/integration_tests/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ManageIQ/integration_tests/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ManageIQ/integration_tests/teams","hooks_url":"https://api.github.com/repos/ManageIQ/integration_tests/hooks","issue_events_url":"https://api.github.com/repos/ManageIQ/integration_tests/issues/events{/number}","events_url":"https://api.github.com/repos/ManageIQ/integration_tests/events","assignees_url":"https://api.github.com/repos/ManageIQ/integration_tests/assignees{/user}","branches_url":"https://api.github.com/repos/ManageIQ/integration_tests/branches{/branch}","tags_url":"https://api.github.com/repos/ManageIQ/integration_tests/tags","blobs_url":"https://api.github.com/repos/ManageIQ/integration_tests/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ManageIQ/integration_tests/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ManageIQ/integration_tests/git/refs{/sha}","trees_url":"https://api.github.com/repos/ManageIQ/integration_tests/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ManageIQ/integration_tests/statuses/{sha}","languages_url":"https://api.github.com/repos/ManageIQ/integration_tests/languages","stargazers_url":"https://api.github.com/repos/ManageIQ/integration_tests/stargazers","contributors_url":"https://api.github.com/repos/ManageIQ/integration_tests/contributors","subscribers_url":"https://api.github.com/repos/ManageIQ/integration_tests/subscribers","subscription_url":"https://api.github.com/repos/ManageIQ/integration_tests/subscription","commits_url":"https://api.github.com/repos/ManageIQ/integration_tests/commits{/sha}","git_commits_url":"https://api.github.com/repos/ManageIQ/integration_tests/git/commits{/sha}","comments_url":"https://api.github.com/repos/ManageIQ/integration_tests/comments{/number}","issue_comment_url":"https://api.github.com/repos/ManageIQ/integration_tests/issues/comments{/number}","contents_url":"https://api.github.com/repos/ManageIQ/integration_tests/contents/{+path}","compare_url":"https://api.github.com/repos/ManageIQ/integration_tests/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ManageIQ/integration_tests/merges","archive_url":"https://api.github.com/repos/ManageIQ/integration_tests/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ManageIQ/integration_tests/downloads","issues_url":"https://api.github.com/repos/ManageIQ/integration_tests/issues{/number}","pulls_url":"https://api.github.com/repos/ManageIQ/integration_tests/pulls{/number}","milestones_url":"https://api.github.com/repos/ManageIQ/integration_tests/milestones{/number}","notifications_url":"https://api.github.com/repos/ManageIQ/integration_tests/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ManageIQ/integration_tests/labels{/name}","releases_url":"https://api.github.com/repos/ManageIQ/integration_tests/releases{/id}","deployments_url":"https://api.github.com/repos/ManageIQ/integration_tests/deployments","created_at":"2013-02-06T21:59:17Z","updated_at":"2018-06-08T20:15:49Z","pushed_at":"2018-06-11T07:56:59Z","git_url":"git://github.com/ManageIQ/integration_tests.git","ssh_url":"git@github.com:ManageIQ/integration_tests.git","clone_url":"https://github.com/ManageIQ/integration_tests.git","svn_url":"https://github.com/ManageIQ/integration_tests","homepage":"","size":26704,"stargazers_count":57,"watchers_count":57,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":130,"mirror_url":null,"archived":false,"open_issues_count":176,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":130,"open_issues":176,"watchers":57,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ManageIQ/integration_tests/pulls/6942"},"html":{"href":"https://github.com/ManageIQ/integration_tests/pull/6942"},"issue":{"href":"https://api.github.com/repos/ManageIQ/integration_tests/issues/6942"},"comments":{"href":"https://api.github.com/repos/ManageIQ/integration_tests/issues/6942/comments"},"review_comments":{"href":"https://api.github.com/repos/ManageIQ/integration_tests/pulls/6942/comments"},"review_comment":{"href":"https://api.github.com/repos/ManageIQ/integration_tests/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ManageIQ/integration_tests/pulls/6942/commits"},"statuses":{"href":"https://api.github.com/repos/ManageIQ/integration_tests/statuses/c533cc0253a8f6251afa93470e7a294f4f65b980"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"otsuman"}}