{"action":"created","comment":{"url":"https://api.github.com/repos/ManageIQ/integration_tests/pulls/comments/189219173","pull_request_review_id":121355696,"id":189219173,"diff_hunk":"@@ -120,3 +148,39 @@ def test_quota_tagging(appliance, provider, setup_provider, set_entity_quota_tag\n     provision_request = appliance.collections.requests.instantiate(request_description)\n     provision_request.wait_for_request(method='ui')\n     assert provision_request.row.reason.text == \"Quota Exceeded\"\n+\n+    @request.addfinalizer\n+    def delete():\n+        provision_request.remove_request()\n+\n+\n+@pytest.mark.rhv2\n+@pytest.mark.parametrize('context', [ViaSSUI, ViaUI])\n+@pytest.mark.parametrize(\n+    ['set_entity_quota_tag', 'custom_prov_data'],\n+    [\n+        [('Quota - Max Memory *', '1GB'), {'hardware': {'memory': '4096'}}],\n+        [('Quota - Max Storage *', '10GB'), {}],\n+        [('Quota - Max CPUs *', '1'), {'hardware': {'num_sockets': '8'}}]\n+    ],\n+    indirect=['set_entity_quota_tag'],\n+    ids=['max_memory', 'max_storage', 'max_cpu']\n+)\n+def test_quota_tagging_infra_via_services(request, appliance, provider, setup_provider, admin_email,\n+                                          context, set_entity_quota_tag, custom_prov_data,\n+                                          prov_data, catalog_item):\n+    prov_data.update(custom_prov_data)\n+    with appliance.context.use(context):\n+        service_catalogs = ServiceCatalogs(appliance, catalog_item.catalog, catalog_item.name)\n+        if context is ViaSSUI:\n+            service_catalogs.add_to_shopping_cart()\n+        service_catalogs.order()\n+    # nav to requests page to check quota validation\n+    request_description = 'Provisioning Service [{0}] from [{0}]'.format(catalog_item.name)\n+    provision_request = appliance.collections.requests.instantiate(request_description)\n+    provision_request.wait_for_request(method='ui')\n+    assert provision_request.row.reason.text == \"Quota Exceeded\"\n+\n+    @request.addfinalizer\n+    def delete():\n+        provision_request.remove_request()","path":"cfme/tests/infrastructure/test_quota_tagging.py","position":122,"original_position":122,"commit_id":"c3d2c2f3cf8a25a8e09068f7cf4095b868ea01eb","original_commit_id":"c3d2c2f3cf8a25a8e09068f7cf4095b868ea01eb","user":{"login":"quarckster","id":1011257,"avatar_url":"https://avatars0.githubusercontent.com/u/1011257?v=4","gravatar_id":"","url":"https://api.github.com/users/quarckster","html_url":"https://github.com/quarckster","followers_url":"https://api.github.com/users/quarckster/followers","following_url":"https://api.github.com/users/quarckster/following{/other_user}","gists_url":"https://api.github.com/users/quarckster/gists{/gist_id}","starred_url":"https://api.github.com/users/quarckster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quarckster/subscriptions","organizations_url":"https://api.github.com/users/quarckster/orgs","repos_url":"https://api.github.com/users/quarckster/repos","events_url":"https://api.github.com/users/quarckster/events{/privacy}","received_events_url":"https://api.github.com/users/quarckster/received_events","type":"User","site_admin":false},"body":"**REQUIRED**\r\n^","created_at":"2018-05-18T09:52:51Z","updated_at":"2018-05-18T09:52:59Z","html_url":"https://github.com/ManageIQ/integration_tests/pull/7116#discussion_r189219173","pull_request_url":"https://api.github.com/repos/ManageIQ/integration_tests/pulls/7116","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/ManageIQ/integration_tests/pulls/comments/189219173"},"html":{"href":"https://github.com/ManageIQ/integration_tests/pull/7116#discussion_r189219173"},"pull_request":{"href":"https://api.github.com/repos/ManageIQ/integration_tests/pulls/7116"}}},"pull_request":{"url":"https://api.github.com/repos/ManageIQ/integration_tests/pulls/7116","id":182770971,"html_url":"https://github.com/ManageIQ/integration_tests/pull/7116","diff_url":"https://github.com/ManageIQ/integration_tests/pull/7116.diff","patch_url":"https://github.com/ManageIQ/integration_tests/pull/7116.patch","issue_url":"https://api.github.com/repos/ManageIQ/integration_tests/issues/7116","number":7116,"state":"open","locked":false,"title":"[1LP][RFR]Implementing Infra service quota tagging related test case.","user":{"login":"anurag03","id":13481465,"avatar_url":"https://avatars0.githubusercontent.com/u/13481465?v=4","gravatar_id":"","url":"https://api.github.com/users/anurag03","html_url":"https://github.com/anurag03","followers_url":"https://api.github.com/users/anurag03/followers","following_url":"https://api.github.com/users/anurag03/following{/other_user}","gists_url":"https://api.github.com/users/anurag03/gists{/gist_id}","starred_url":"https://api.github.com/users/anurag03/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anurag03/subscriptions","organizations_url":"https://api.github.com/users/anurag03/orgs","repos_url":"https://api.github.com/users/anurag03/repos","events_url":"https://api.github.com/users/anurag03/events{/privacy}","received_events_url":"https://api.github.com/users/anurag03/received_events","type":"User","site_admin":false},"body":"Purpose or Intent\r\n=================\r\nAdding new test case related to Infra-quota-tagging and also renaming lifecycle related test case.\r\n\r\n{{pytest: -v 'cfme/tests/infrastructure/test_quota_tagging.py'}}","created_at":"2018-04-19T13:10:17Z","updated_at":"2018-05-18T09:52:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"314acb0cd3fec8d43cc675ba958ea84d649a4c3b","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":118710104,"url":"https://api.github.com/repos/ManageIQ/integration_tests/labels/lint-ok","name":"lint-ok","color":"ffffff","default":false},{"id":469132575,"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/7116/commits","review_comments_url":"https://api.github.com/repos/ManageIQ/integration_tests/pulls/7116/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/7116/comments","statuses_url":"https://api.github.com/repos/ManageIQ/integration_tests/statuses/c3d2c2f3cf8a25a8e09068f7cf4095b868ea01eb","head":{"label":"anurag03:3930","ref":"3930","sha":"c3d2c2f3cf8a25a8e09068f7cf4095b868ea01eb","user":{"login":"anurag03","id":13481465,"avatar_url":"https://avatars0.githubusercontent.com/u/13481465?v=4","gravatar_id":"","url":"https://api.github.com/users/anurag03","html_url":"https://github.com/anurag03","followers_url":"https://api.github.com/users/anurag03/followers","following_url":"https://api.github.com/users/anurag03/following{/other_user}","gists_url":"https://api.github.com/users/anurag03/gists{/gist_id}","starred_url":"https://api.github.com/users/anurag03/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anurag03/subscriptions","organizations_url":"https://api.github.com/users/anurag03/orgs","repos_url":"https://api.github.com/users/anurag03/repos","events_url":"https://api.github.com/users/anurag03/events{/privacy}","received_events_url":"https://api.github.com/users/anurag03/received_events","type":"User","site_admin":false},"repo":{"id":93135209,"name":"integration_tests","full_name":"anurag03/integration_tests","owner":{"login":"anurag03","id":13481465,"avatar_url":"https://avatars0.githubusercontent.com/u/13481465?v=4","gravatar_id":"","url":"https://api.github.com/users/anurag03","html_url":"https://github.com/anurag03","followers_url":"https://api.github.com/users/anurag03/followers","following_url":"https://api.github.com/users/anurag03/following{/other_user}","gists_url":"https://api.github.com/users/anurag03/gists{/gist_id}","starred_url":"https://api.github.com/users/anurag03/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anurag03/subscriptions","organizations_url":"https://api.github.com/users/anurag03/orgs","repos_url":"https://api.github.com/users/anurag03/repos","events_url":"https://api.github.com/users/anurag03/events{/privacy}","received_events_url":"https://api.github.com/users/anurag03/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/anurag03/integration_tests","description":"ManageIQ integration tests","fork":true,"url":"https://api.github.com/repos/anurag03/integration_tests","forks_url":"https://api.github.com/repos/anurag03/integration_tests/forks","keys_url":"https://api.github.com/repos/anurag03/integration_tests/keys{/key_id}","collaborators_url":"https://api.github.com/repos/anurag03/integration_tests/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/anurag03/integration_tests/teams","hooks_url":"https://api.github.com/repos/anurag03/integration_tests/hooks","issue_events_url":"https://api.github.com/repos/anurag03/integration_tests/issues/events{/number}","events_url":"https://api.github.com/repos/anurag03/integration_tests/events","assignees_url":"https://api.github.com/repos/anurag03/integration_tests/assignees{/user}","branches_url":"https://api.github.com/repos/anurag03/integration_tests/branches{/branch}","tags_url":"https://api.github.com/repos/anurag03/integration_tests/tags","blobs_url":"https://api.github.com/repos/anurag03/integration_tests/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/anurag03/integration_tests/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/anurag03/integration_tests/git/refs{/sha}","trees_url":"https://api.github.com/repos/anurag03/integration_tests/git/trees{/sha}","statuses_url":"https://api.github.com/repos/anurag03/integration_tests/statuses/{sha}","languages_url":"https://api.github.com/repos/anurag03/integration_tests/languages","stargazers_url":"https://api.github.com/repos/anurag03/integration_tests/stargazers","contributors_url":"https://api.github.com/repos/anurag03/integration_tests/contributors","subscribers_url":"https://api.github.com/repos/anurag03/integration_tests/subscribers","subscription_url":"https://api.github.com/repos/anurag03/integration_tests/subscription","commits_url":"https://api.github.com/repos/anurag03/integration_tests/commits{/sha}","git_commits_url":"https://api.github.com/repos/anurag03/integration_tests/git/commits{/sha}","comments_url":"https://api.github.com/repos/anurag03/integration_tests/comments{/number}","issue_comment_url":"https://api.github.com/repos/anurag03/integration_tests/issues/comments{/number}","contents_url":"https://api.github.com/repos/anurag03/integration_tests/contents/{+path}","compare_url":"https://api.github.com/repos/anurag03/integration_tests/compare/{base}...{head}","merges_url":"https://api.github.com/repos/anurag03/integration_tests/merges","archive_url":"https://api.github.com/repos/anurag03/integration_tests/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/anurag03/integration_tests/downloads","issues_url":"https://api.github.com/repos/anurag03/integration_tests/issues{/number}","pulls_url":"https://api.github.com/repos/anurag03/integration_tests/pulls{/number}","milestones_url":"https://api.github.com/repos/anurag03/integration_tests/milestones{/number}","notifications_url":"https://api.github.com/repos/anurag03/integration_tests/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/anurag03/integration_tests/labels{/name}","releases_url":"https://api.github.com/repos/anurag03/integration_tests/releases{/id}","deployments_url":"https://api.github.com/repos/anurag03/integration_tests/deployments","created_at":"2017-06-02T06:39:35Z","updated_at":"2018-05-17T06:42:06Z","pushed_at":"2018-05-18T09:32:30Z","git_url":"git://github.com/anurag03/integration_tests.git","ssh_url":"git@github.com:anurag03/integration_tests.git","clone_url":"https://github.com/anurag03/integration_tests.git","svn_url":"https://github.com/anurag03/integration_tests","homepage":"","size":26031,"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"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ManageIQ:master","ref":"master","sha":"561c80f8851fee9f50c0b41b6bd4cc83adda06dc","user":{"login":"ManageIQ","id":1125575,"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,"name":"integration_tests","full_name":"ManageIQ/integration_tests","owner":{"login":"ManageIQ","id":1125575,"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-05-18T09:33:24Z","pushed_at":"2018-05-18T09:44:45Z","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":26076,"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":124,"mirror_url":null,"archived":false,"open_issues_count":175,"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"},"forks":124,"open_issues":175,"watchers":57,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ManageIQ/integration_tests/pulls/7116"},"html":{"href":"https://github.com/ManageIQ/integration_tests/pull/7116"},"issue":{"href":"https://api.github.com/repos/ManageIQ/integration_tests/issues/7116"},"comments":{"href":"https://api.github.com/repos/ManageIQ/integration_tests/issues/7116/comments"},"review_comments":{"href":"https://api.github.com/repos/ManageIQ/integration_tests/pulls/7116/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/7116/commits"},"statuses":{"href":"https://api.github.com/repos/ManageIQ/integration_tests/statuses/c3d2c2f3cf8a25a8e09068f7cf4095b868ea01eb"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"quarckster"}}