{"action":"created","comment":{"url":"https://api.github.com/repos/SatelliteQE/robottelo/pulls/comments/74880849","id":74880849,"diff_hunk":"@@ -0,0 +1,362 @@\n+\"\"\"Test for Compute Resource UI\n+\n+@Requirement: Computeresource\n+\n+@CaseLevel: Acceptance\n+\n+@CaseComponent: UI\n+\n+@TestType: Functional\n+\n+@CaseImportance: High\n+\n+@Upstream: No\n+\"\"\"\n+\n+from robottelo.decorators import run_only_on, tier1, tier2, tier3, stubbed\n+from robottelo.test import UITestCase\n+\n+\n+class OpenstackComputeResourceTestCase(UITestCase):\n+    \"\"\"Implements Compute Resource tests in UI\"\"\"\n+\n+    @run_only_on('sat')\n+    @stubbed()\n+    @tier1\n+    def test_positive_create_openstack_with_name(self):\n+        \"\"\"Create a new openstack Compute Resource using different value\n+        types as a name\n+\n+        @id: 17f8e903-c2db-4580-8162-0706da6c6368\n+\n+        @setup: openstack hostname and credentials.\n+\n+        @steps:\n+        1. Create a compute resource of type openstack.\n+        2. Provide it with the valid hostname, username and password.\n+        3. Provide a valid name to openstack Compute Resource.\n+        4. Test the connection using Load Tenants and submit.\n+\n+        @Assert: A openstack CR is created successfully with proper connection.\n+\n+        @caseautomation: notautomated\n+        \"\"\"\n+\n+    @run_only_on('sat')\n+    @stubbed()\n+    @tier1\n+    def test_positive_create_openstack_with_description(self):\n+        \"\"\"Create openstack Compute Resource with description.\n+\n+        @id: 8373b79a-bffc-409b-95fe-0bb170536c5b\n+\n+        @setup: openstack hostname and credentials.\n+\n+        @steps:\n+        1. Create a compute resource of type openstack.\n+        2. Provide it with the valid hostname, username and password.\n+        3. Provide it with some valid description to\n+        openstack Compute Resource.\n+        4. Test the connection using Load Tenants and submit.\n+\n+        @Assert: A openstack Compute Resource is created successfully\n+\n+        @caseautomation: notautomated\n+        \"\"\"\n+\n+    @run_only_on('sat')\n+    @stubbed()\n+    @tier1\n+    def test_negative_create_openstack_with_invalid_name(self):\n+        \"\"\"Create a new openstack Compute Resource with incorrect values\n+        only\n+\n+        @id: aa0cf21d-40a2-4478-9ab5-8e18db7fb8c0\n+\n+        @setup: openstack hostname and credentials.\n+\n+        @steps:\n+        1. Create a compute resource of type openstack.\n+        2. Provide it with the valid hostname, username and password.\n+        3. Provide a invalid name to openstack Compute Resource.\n+        4. Test the connection using Load Tenants and submit.\n+\n+        @Assert: A openstack Compute Resource is not created\n+\n+        @caseautomation: notautomated\n+        \"\"\"\n+\n+    @run_only_on('sat')\n+    @stubbed()\n+    @tier1\n+    def test_positive_update_openstack_name(self):\n+        \"\"\"Update a openstack Compute Resource name\n+\n+        @id: 27b475dc-bec8-4b25-a67a-0bdba4d086c9\n+\n+        @setup: openstack hostname and credentials.\n+\n+        @steps:\n+        1. Create a compute resource of type openstack.\n+        2. Provide it with the valid hostname, username and password.\n+        3. Provide a valid name to openstack Compute Resource.\n+        4. Test the connection using Load Tenants and submit.\n+        5. Update the name of the created CR with valid string.\n+\n+        @Assert: The openstack Compute Resource is updated\n+\n+        @caseautomation: notautomated\n+        \"\"\"\n+\n+    @run_only_on('sat')\n+    @stubbed()\n+    @tier2\n+    def test_positive_update_openstack_organization(self):\n+        \"\"\"Update a openstack Compute Resource organization\n+\n+        @id: 571119e2-cac2-4d05-8e70-c258242bda98\n+\n+        @setup: openstack hostname and credentials.\n+\n+        @steps:\n+        1. Create a compute resource of type openstack.\n+        2. Provide it with the valid hostname, username and password.\n+        3. Provide a valid name to openstack Compute Resource.\n+        4. Test the connection using Load Tenants and submit.\n+        5. Create a new organization.\n+        6. Add the new CR to organization that is created.\n+\n+        @Assert: The openstack Compute Resource is updated\n+\n+        @caseautomation: notautomated\n+        \"\"\"\n+\n+    @run_only_on('sat')\n+    @stubbed()\n+    @tier1\n+    def test_positive_delete_openstack(self):\n+        \"\"\"Delete a openstack Compute Resource\n+\n+        @id: 9336c44a-81d3-4132-96b7-013aad45ba67\n+\n+        @setup: openstack hostname and credentials.\n+\n+        @steps:\n+        1. Create a compute resource of type openstack.\n+        2. Provide it with the valid hostname, username and password.\n+        3. Provide a valid name to openstack Compute Resource.\n+        4. Test the connection using Load Tenants and submit.\n+        5. Delete the created compute resource.\n+\n+        @Assert: The Compute Resource is deleted\n+\n+        @caseautomation: notautomated\n+        \"\"\"\n+\n+    @run_only_on('sat')\n+    @stubbed()\n+    @tier2\n+    def test_positive_add_image_openstack_with_name(self):\n+        \"\"\"Add images to the openstack compute resource\n+\n+        @id: bbd49aa3-97d6-4d8f-8caa-1e2660afa6ee\n+\n+        @setup: openstack hostname, credentials and images in openstack.\n+\n+        @steps:\n+        1. Create a compute resource of type openstack.\n+        2. Provide it with the valid hostname, username and password.\n+        3. Select the created openstack CR and click images tab.\n+        4. Select \"New image\" , provide it valid name and information.\n+        5. Select the desired template to create image and submit.\n+\n+        @Assert: The image is added to the CR successfully\n+\n+        @Caseautomation: notautomated\n+         \"\"\"\n+\n+    @run_only_on('sat')\n+    @stubbed()\n+    @tier2\n+    def test_negative_add_image_openstack_with_invalid_name(self):\n+        \"\"\"Add images to the openstack compute resource\n+\n+        @id: e2e5989b-b033-4691-b91c-adba1c88af28\n+\n+        @setup: openstack hostname, credentials and images in openstack.\n+\n+        @steps:\n+        1. Create a compute resource of type openstack.\n+        2. Provide it with the valid hostname, username and password.\n+        3. Select the created openstack CR and click images tab.\n+        4. Select \"New image\" , provide it invalid name and valid information.\n+        5. Select the desired template to create the image from and submit.\n+\n+        @Assert: The image should not be added to the CR\n+\n+        @Caseautomation: notautomated\n+        \"\"\"\n+\n+    @run_only_on('sat')\n+    @stubbed()\n+    @tier2\n+    def test_positive_access_openstack_with_default_profile(self):\n+        \"\"\"Associate default (3-Large) compute profile to openstack compute resource","path":"tests/foreman/ui/test_computeresource_openstack.py","position":204,"original_position":204,"commit_id":"301e04a08c9a94912601ce0e98b044627fb71c95","original_commit_id":"301e04a08c9a94912601ce0e98b044627fb71c95","user":{"login":"san7ket","id":14175952,"avatar_url":"https://avatars.githubusercontent.com/u/14175952?v=3","gravatar_id":"","url":"https://api.github.com/users/san7ket","html_url":"https://github.com/san7ket","followers_url":"https://api.github.com/users/san7ket/followers","following_url":"https://api.github.com/users/san7ket/following{/other_user}","gists_url":"https://api.github.com/users/san7ket/gists{/gist_id}","starred_url":"https://api.github.com/users/san7ket/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/san7ket/subscriptions","organizations_url":"https://api.github.com/users/san7ket/orgs","repos_url":"https://api.github.com/users/san7ket/repos","events_url":"https://api.github.com/users/san7ket/events{/privacy}","received_events_url":"https://api.github.com/users/san7ket/received_events","type":"User","site_admin":false},"body":"Using same profile for all compute resource.","created_at":"2016-08-16T06:16:36Z","updated_at":"2016-08-16T06:16:36Z","html_url":"https://github.com/SatelliteQE/robottelo/pull/3705#discussion_r74880849","pull_request_url":"https://api.github.com/repos/SatelliteQE/robottelo/pulls/3705","_links":{"self":{"href":"https://api.github.com/repos/SatelliteQE/robottelo/pulls/comments/74880849"},"html":{"href":"https://github.com/SatelliteQE/robottelo/pull/3705#discussion_r74880849"},"pull_request":{"href":"https://api.github.com/repos/SatelliteQE/robottelo/pulls/3705"}}},"pull_request":{"url":"https://api.github.com/repos/SatelliteQE/robottelo/pulls/3705","id":81082792,"html_url":"https://github.com/SatelliteQE/robottelo/pull/3705","diff_url":"https://github.com/SatelliteQE/robottelo/pull/3705.diff","patch_url":"https://github.com/SatelliteQE/robottelo/pull/3705.patch","issue_url":"https://api.github.com/repos/SatelliteQE/robottelo/issues/3705","number":3705,"state":"open","locked":false,"title":"Addition of test_computeresource_openstack.py module with openstack CR stubs","user":{"login":"san7ket","id":14175952,"avatar_url":"https://avatars.githubusercontent.com/u/14175952?v=3","gravatar_id":"","url":"https://api.github.com/users/san7ket","html_url":"https://github.com/san7ket","followers_url":"https://api.github.com/users/san7ket/followers","following_url":"https://api.github.com/users/san7ket/following{/other_user}","gists_url":"https://api.github.com/users/san7ket/gists{/gist_id}","starred_url":"https://api.github.com/users/san7ket/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/san7ket/subscriptions","organizations_url":"https://api.github.com/users/san7ket/orgs","repos_url":"https://api.github.com/users/san7ket/repos","events_url":"https://api.github.com/users/san7ket/events{/privacy}","received_events_url":"https://api.github.com/users/san7ket/received_events","type":"User","site_admin":false},"body":"Addition of new module for openstack compute resource testcases.\r\nAddition of openstack test class to incorporate openstack compute resource testcases.\r\nAddition of several stubs for compute resource of type openstack.","created_at":"2016-08-12T08:20:12Z","updated_at":"2016-08-16T06:16:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8369e642f1e417b448aa4798e9adb187865f152f","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/SatelliteQE/robottelo/pulls/3705/commits","review_comments_url":"https://api.github.com/repos/SatelliteQE/robottelo/pulls/3705/comments","review_comment_url":"https://api.github.com/repos/SatelliteQE/robottelo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SatelliteQE/robottelo/issues/3705/comments","statuses_url":"https://api.github.com/repos/SatelliteQE/robottelo/statuses/301e04a08c9a94912601ce0e98b044627fb71c95","head":{"label":"san7ket:openstack_stub","ref":"openstack_stub","sha":"301e04a08c9a94912601ce0e98b044627fb71c95","user":{"login":"san7ket","id":14175952,"avatar_url":"https://avatars.githubusercontent.com/u/14175952?v=3","gravatar_id":"","url":"https://api.github.com/users/san7ket","html_url":"https://github.com/san7ket","followers_url":"https://api.github.com/users/san7ket/followers","following_url":"https://api.github.com/users/san7ket/following{/other_user}","gists_url":"https://api.github.com/users/san7ket/gists{/gist_id}","starred_url":"https://api.github.com/users/san7ket/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/san7ket/subscriptions","organizations_url":"https://api.github.com/users/san7ket/orgs","repos_url":"https://api.github.com/users/san7ket/repos","events_url":"https://api.github.com/users/san7ket/events{/privacy}","received_events_url":"https://api.github.com/users/san7ket/received_events","type":"User","site_admin":false},"repo":{"id":55603427,"name":"robottelo","full_name":"san7ket/robottelo","owner":{"login":"san7ket","id":14175952,"avatar_url":"https://avatars.githubusercontent.com/u/14175952?v=3","gravatar_id":"","url":"https://api.github.com/users/san7ket","html_url":"https://github.com/san7ket","followers_url":"https://api.github.com/users/san7ket/followers","following_url":"https://api.github.com/users/san7ket/following{/other_user}","gists_url":"https://api.github.com/users/san7ket/gists{/gist_id}","starred_url":"https://api.github.com/users/san7ket/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/san7ket/subscriptions","organizations_url":"https://api.github.com/users/san7ket/orgs","repos_url":"https://api.github.com/users/san7ket/repos","events_url":"https://api.github.com/users/san7ket/events{/privacy}","received_events_url":"https://api.github.com/users/san7ket/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/san7ket/robottelo","description":"Robottelo is a test suite which exercises The Foreman.","fork":true,"url":"https://api.github.com/repos/san7ket/robottelo","forks_url":"https://api.github.com/repos/san7ket/robottelo/forks","keys_url":"https://api.github.com/repos/san7ket/robottelo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/san7ket/robottelo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/san7ket/robottelo/teams","hooks_url":"https://api.github.com/repos/san7ket/robottelo/hooks","issue_events_url":"https://api.github.com/repos/san7ket/robottelo/issues/events{/number}","events_url":"https://api.github.com/repos/san7ket/robottelo/events","assignees_url":"https://api.github.com/repos/san7ket/robottelo/assignees{/user}","branches_url":"https://api.github.com/repos/san7ket/robottelo/branches{/branch}","tags_url":"https://api.github.com/repos/san7ket/robottelo/tags","blobs_url":"https://api.github.com/repos/san7ket/robottelo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/san7ket/robottelo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/san7ket/robottelo/git/refs{/sha}","trees_url":"https://api.github.com/repos/san7ket/robottelo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/san7ket/robottelo/statuses/{sha}","languages_url":"https://api.github.com/repos/san7ket/robottelo/languages","stargazers_url":"https://api.github.com/repos/san7ket/robottelo/stargazers","contributors_url":"https://api.github.com/repos/san7ket/robottelo/contributors","subscribers_url":"https://api.github.com/repos/san7ket/robottelo/subscribers","subscription_url":"https://api.github.com/repos/san7ket/robottelo/subscription","commits_url":"https://api.github.com/repos/san7ket/robottelo/commits{/sha}","git_commits_url":"https://api.github.com/repos/san7ket/robottelo/git/commits{/sha}","comments_url":"https://api.github.com/repos/san7ket/robottelo/comments{/number}","issue_comment_url":"https://api.github.com/repos/san7ket/robottelo/issues/comments{/number}","contents_url":"https://api.github.com/repos/san7ket/robottelo/contents/{+path}","compare_url":"https://api.github.com/repos/san7ket/robottelo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/san7ket/robottelo/merges","archive_url":"https://api.github.com/repos/san7ket/robottelo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/san7ket/robottelo/downloads","issues_url":"https://api.github.com/repos/san7ket/robottelo/issues{/number}","pulls_url":"https://api.github.com/repos/san7ket/robottelo/pulls{/number}","milestones_url":"https://api.github.com/repos/san7ket/robottelo/milestones{/number}","notifications_url":"https://api.github.com/repos/san7ket/robottelo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/san7ket/robottelo/labels{/name}","releases_url":"https://api.github.com/repos/san7ket/robottelo/releases{/id}","deployments_url":"https://api.github.com/repos/san7ket/robottelo/deployments","created_at":"2016-04-06T12:21:33Z","updated_at":"2016-07-31T03:29:08Z","pushed_at":"2016-08-12T10:12:57Z","git_url":"git://github.com/san7ket/robottelo.git","ssh_url":"git@github.com:san7ket/robottelo.git","clone_url":"https://github.com/san7ket/robottelo.git","svn_url":"https://github.com/san7ket/robottelo","homepage":"","size":12994,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"SatelliteQE:master","ref":"master","sha":"bc6a5249a228b48e38e6b745ff2ae80244ff747b","user":{"login":"SatelliteQE","id":8754276,"avatar_url":"https://avatars.githubusercontent.com/u/8754276?v=3","gravatar_id":"","url":"https://api.github.com/users/SatelliteQE","html_url":"https://github.com/SatelliteQE","followers_url":"https://api.github.com/users/SatelliteQE/followers","following_url":"https://api.github.com/users/SatelliteQE/following{/other_user}","gists_url":"https://api.github.com/users/SatelliteQE/gists{/gist_id}","starred_url":"https://api.github.com/users/SatelliteQE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SatelliteQE/subscriptions","organizations_url":"https://api.github.com/users/SatelliteQE/orgs","repos_url":"https://api.github.com/users/SatelliteQE/repos","events_url":"https://api.github.com/users/SatelliteQE/events{/privacy}","received_events_url":"https://api.github.com/users/SatelliteQE/received_events","type":"Organization","site_admin":false},"repo":{"id":4000279,"name":"robottelo","full_name":"SatelliteQE/robottelo","owner":{"login":"SatelliteQE","id":8754276,"avatar_url":"https://avatars.githubusercontent.com/u/8754276?v=3","gravatar_id":"","url":"https://api.github.com/users/SatelliteQE","html_url":"https://github.com/SatelliteQE","followers_url":"https://api.github.com/users/SatelliteQE/followers","following_url":"https://api.github.com/users/SatelliteQE/following{/other_user}","gists_url":"https://api.github.com/users/SatelliteQE/gists{/gist_id}","starred_url":"https://api.github.com/users/SatelliteQE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SatelliteQE/subscriptions","organizations_url":"https://api.github.com/users/SatelliteQE/orgs","repos_url":"https://api.github.com/users/SatelliteQE/repos","events_url":"https://api.github.com/users/SatelliteQE/events{/privacy}","received_events_url":"https://api.github.com/users/SatelliteQE/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SatelliteQE/robottelo","description":"Robottelo is a test suite which exercises The Foreman.","fork":false,"url":"https://api.github.com/repos/SatelliteQE/robottelo","forks_url":"https://api.github.com/repos/SatelliteQE/robottelo/forks","keys_url":"https://api.github.com/repos/SatelliteQE/robottelo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SatelliteQE/robottelo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SatelliteQE/robottelo/teams","hooks_url":"https://api.github.com/repos/SatelliteQE/robottelo/hooks","issue_events_url":"https://api.github.com/repos/SatelliteQE/robottelo/issues/events{/number}","events_url":"https://api.github.com/repos/SatelliteQE/robottelo/events","assignees_url":"https://api.github.com/repos/SatelliteQE/robottelo/assignees{/user}","branches_url":"https://api.github.com/repos/SatelliteQE/robottelo/branches{/branch}","tags_url":"https://api.github.com/repos/SatelliteQE/robottelo/tags","blobs_url":"https://api.github.com/repos/SatelliteQE/robottelo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SatelliteQE/robottelo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SatelliteQE/robottelo/git/refs{/sha}","trees_url":"https://api.github.com/repos/SatelliteQE/robottelo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SatelliteQE/robottelo/statuses/{sha}","languages_url":"https://api.github.com/repos/SatelliteQE/robottelo/languages","stargazers_url":"https://api.github.com/repos/SatelliteQE/robottelo/stargazers","contributors_url":"https://api.github.com/repos/SatelliteQE/robottelo/contributors","subscribers_url":"https://api.github.com/repos/SatelliteQE/robottelo/subscribers","subscription_url":"https://api.github.com/repos/SatelliteQE/robottelo/subscription","commits_url":"https://api.github.com/repos/SatelliteQE/robottelo/commits{/sha}","git_commits_url":"https://api.github.com/repos/SatelliteQE/robottelo/git/commits{/sha}","comments_url":"https://api.github.com/repos/SatelliteQE/robottelo/comments{/number}","issue_comment_url":"https://api.github.com/repos/SatelliteQE/robottelo/issues/comments{/number}","contents_url":"https://api.github.com/repos/SatelliteQE/robottelo/contents/{+path}","compare_url":"https://api.github.com/repos/SatelliteQE/robottelo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SatelliteQE/robottelo/merges","archive_url":"https://api.github.com/repos/SatelliteQE/robottelo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SatelliteQE/robottelo/downloads","issues_url":"https://api.github.com/repos/SatelliteQE/robottelo/issues{/number}","pulls_url":"https://api.github.com/repos/SatelliteQE/robottelo/pulls{/number}","milestones_url":"https://api.github.com/repos/SatelliteQE/robottelo/milestones{/number}","notifications_url":"https://api.github.com/repos/SatelliteQE/robottelo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SatelliteQE/robottelo/labels{/name}","releases_url":"https://api.github.com/repos/SatelliteQE/robottelo/releases{/id}","deployments_url":"https://api.github.com/repos/SatelliteQE/robottelo/deployments","created_at":"2012-04-12T01:36:39Z","updated_at":"2016-06-01T16:21:06Z","pushed_at":"2016-08-16T05:56:41Z","git_url":"git://github.com/SatelliteQE/robottelo.git","ssh_url":"git@github.com:SatelliteQE/robottelo.git","clone_url":"https://github.com/SatelliteQE/robottelo.git","svn_url":"https://github.com/SatelliteQE/robottelo","homepage":"","size":14171,"stargazers_count":24,"watchers_count":24,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":46,"mirror_url":null,"open_issues_count":149,"forks":46,"open_issues":149,"watchers":24,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SatelliteQE/robottelo/pulls/3705"},"html":{"href":"https://github.com/SatelliteQE/robottelo/pull/3705"},"issue":{"href":"https://api.github.com/repos/SatelliteQE/robottelo/issues/3705"},"comments":{"href":"https://api.github.com/repos/SatelliteQE/robottelo/issues/3705/comments"},"review_comments":{"href":"https://api.github.com/repos/SatelliteQE/robottelo/pulls/3705/comments"},"review_comment":{"href":"https://api.github.com/repos/SatelliteQE/robottelo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SatelliteQE/robottelo/pulls/3705/commits"},"statuses":{"href":"https://api.github.com/repos/SatelliteQE/robottelo/statuses/301e04a08c9a94912601ce0e98b044627fb71c95"}}}}
{"actor":{"display_login":"san7ket"}}