{"action":"created","comment":{"url":"https://api.github.com/repos/SatelliteQE/robottelo/pulls/comments/22813170","id":22813170,"diff_hunk":"@@ -0,0 +1,155 @@\n+# -*- encoding: utf-8 -*-\n+\"\"\"Test class for capsule CLI\"\"\"\n+from robottelo.test import CLITestCase\n+\n+\n+class CapsuleTestCase(CLITestCase):\n+    def provision_through_capsule(self):\n+        \"\"\"@Test: User can provision through a capsule\n+\n+        @Feature: Capsules\n+\n+        @Setup: Some valid, functional compute resource\n+        (perhaps one variation of this case for each supported compute\n+        resource type). Also, functioning capsule with proxy is required.\n+\n+        @Steps:\n+        1. Attempt to route provisioning content through capsule that is\n+        using a proxy\n+        2. Attempt to provision instance\n+\n+        @Assert: Instance can be provisioned, with content coming through\n+        proxy-enabled capsule.\n+\n+        @Status: Manual\n+\n+        \"\"\"\n+\n+    def register_through_capsule(self):\n+        \"\"\"@Test: User can register system through proxy-enabled capsule\n+\n+        @Feature: Capsules\n+\n+        @Steps:\n+        1. attempt to register a system trhough a proxy-enabled capsule\n+\n+        @Assert: system is successfully registered\n+\n+        @Status: Manual\n+\n+        \"\"\"\n+\n+    def deregister_through_capsule(self):\n+        \"\"\"@Test: User can unregister system through proxy-enabled capsule\n+\n+        @Feature: Capsules\n+\n+        @Steps:\n+        1. attempt to unregister a system through a proxy-enabled capsule\n+\n+        @Assert: system is successfully unregistered\n+\n+        @Status: Manual\n+\n+        \"\"\"\n+\n+    def subscribe_content_through_capsule(self):\n+        \"\"\"@Test: User can subscribe system to content through proxy-enabled\n+        capsule\n+\n+        @Feature: Capsules\n+\n+        @Setup: Content source types configured/synced for [RH, Custom, Puppet,\n+        Docker] etc.\n+\n+        @Steps:\n+        1. attempt to subscribe a system to a content type variation,\n+        via a proxy-enabled capsule\n+\n+        @Assert: system is successfully subscribed to each content type\n+\n+        @Status: Manual\n+\n+        \"\"\"\n+    def consume_content_through_capsule(self):","path":"tests/foreman/cli/test_capsule.py","position":74,"original_position":74,"commit_id":"421392782154b454f2a214de5589cefe70d30f24","original_commit_id":"421392782154b454f2a214de5589cefe70d30f24","user":{"login":"Ichimonji10","id":1012989,"avatar_url":"https://avatars.githubusercontent.com/u/1012989?v=3","gravatar_id":"","url":"https://api.github.com/users/Ichimonji10","html_url":"https://github.com/Ichimonji10","followers_url":"https://api.github.com/users/Ichimonji10/followers","following_url":"https://api.github.com/users/Ichimonji10/following{/other_user}","gists_url":"https://api.github.com/users/Ichimonji10/gists{/gist_id}","starred_url":"https://api.github.com/users/Ichimonji10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ichimonji10/subscriptions","organizations_url":"https://api.github.com/users/Ichimonji10/orgs","repos_url":"https://api.github.com/users/Ichimonji10/repos","events_url":"https://api.github.com/users/Ichimonji10/events{/privacy}","received_events_url":"https://api.github.com/users/Ichimonji10/received_events","type":"User","site_admin":false},"body":"Add a blank line directly above this method declaration?","created_at":"2015-01-12T19:09:31Z","updated_at":"2015-01-12T19:09:31Z","html_url":"https://github.com/SatelliteQE/robottelo/pull/1826#discussion_r22813170","pull_request_url":"https://api.github.com/repos/SatelliteQE/robottelo/pulls/1826","_links":{"self":{"href":"https://api.github.com/repos/SatelliteQE/robottelo/pulls/comments/22813170"},"html":{"href":"https://github.com/SatelliteQE/robottelo/pull/1826#discussion_r22813170"},"pull_request":{"href":"https://api.github.com/repos/SatelliteQE/robottelo/pulls/1826"}}},"pull_request":{"url":"https://api.github.com/repos/SatelliteQE/robottelo/pulls/1826","id":27210536,"html_url":"https://github.com/SatelliteQE/robottelo/pull/1826","diff_url":"https://github.com/SatelliteQE/robottelo/pull/1826.diff","patch_url":"https://github.com/SatelliteQE/robottelo/pull/1826.patch","issue_url":"https://api.github.com/repos/SatelliteQE/robottelo/issues/1826","number":1826,"state":"open","locked":false,"title":"Improve CLI capsule tests docstrings","user":{"login":"elyezer","id":48132,"avatar_url":"https://avatars.githubusercontent.com/u/48132?v=3","gravatar_id":"","url":"https://api.github.com/users/elyezer","html_url":"https://github.com/elyezer","followers_url":"https://api.github.com/users/elyezer/followers","following_url":"https://api.github.com/users/elyezer/following{/other_user}","gists_url":"https://api.github.com/users/elyezer/gists{/gist_id}","starred_url":"https://api.github.com/users/elyezer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elyezer/subscriptions","organizations_url":"https://api.github.com/users/elyezer/orgs","repos_url":"https://api.github.com/users/elyezer/repos","events_url":"https://api.github.com/users/elyezer/events{/privacy}","received_events_url":"https://api.github.com/users/elyezer/received_events","type":"User","site_admin":false},"body":"Move the test modules to the right location. Improve docstrings\r\nformatting and use `@test` as first docstring's line.\r\n\r\nAlso import CLITestCase which is the base test case class.\r\n\r\nThis is a follow up for the #1825","created_at":"2015-01-12T17:24:58Z","updated_at":"2015-01-12T19:09:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5ab3cb4373ef8c158c6c6803ef9de4bfbcc21fc2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/SatelliteQE/robottelo/pulls/1826/commits","review_comments_url":"https://api.github.com/repos/SatelliteQE/robottelo/pulls/1826/comments","review_comment_url":"https://api.github.com/repos/SatelliteQE/robottelo/pulls/comments/{number}","comments_url":"https://api.github.com/repos/SatelliteQE/robottelo/issues/1826/comments","statuses_url":"https://api.github.com/repos/SatelliteQE/robottelo/statuses/421392782154b454f2a214de5589cefe70d30f24","head":{"label":"elyezer:cli-capsule-tests","ref":"cli-capsule-tests","sha":"421392782154b454f2a214de5589cefe70d30f24","user":{"login":"elyezer","id":48132,"avatar_url":"https://avatars.githubusercontent.com/u/48132?v=3","gravatar_id":"","url":"https://api.github.com/users/elyezer","html_url":"https://github.com/elyezer","followers_url":"https://api.github.com/users/elyezer/followers","following_url":"https://api.github.com/users/elyezer/following{/other_user}","gists_url":"https://api.github.com/users/elyezer/gists{/gist_id}","starred_url":"https://api.github.com/users/elyezer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elyezer/subscriptions","organizations_url":"https://api.github.com/users/elyezer/orgs","repos_url":"https://api.github.com/users/elyezer/repos","events_url":"https://api.github.com/users/elyezer/events{/privacy}","received_events_url":"https://api.github.com/users/elyezer/received_events","type":"User","site_admin":false},"repo":{"id":14159745,"name":"robottelo","full_name":"elyezer/robottelo","owner":{"login":"elyezer","id":48132,"avatar_url":"https://avatars.githubusercontent.com/u/48132?v=3","gravatar_id":"","url":"https://api.github.com/users/elyezer","html_url":"https://github.com/elyezer","followers_url":"https://api.github.com/users/elyezer/followers","following_url":"https://api.github.com/users/elyezer/following{/other_user}","gists_url":"https://api.github.com/users/elyezer/gists{/gist_id}","starred_url":"https://api.github.com/users/elyezer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elyezer/subscriptions","organizations_url":"https://api.github.com/users/elyezer/orgs","repos_url":"https://api.github.com/users/elyezer/repos","events_url":"https://api.github.com/users/elyezer/events{/privacy}","received_events_url":"https://api.github.com/users/elyezer/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/elyezer/robottelo","description":"An automation testing framework for the Foreman project.","fork":true,"url":"https://api.github.com/repos/elyezer/robottelo","forks_url":"https://api.github.com/repos/elyezer/robottelo/forks","keys_url":"https://api.github.com/repos/elyezer/robottelo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/elyezer/robottelo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/elyezer/robottelo/teams","hooks_url":"https://api.github.com/repos/elyezer/robottelo/hooks","issue_events_url":"https://api.github.com/repos/elyezer/robottelo/issues/events{/number}","events_url":"https://api.github.com/repos/elyezer/robottelo/events","assignees_url":"https://api.github.com/repos/elyezer/robottelo/assignees{/user}","branches_url":"https://api.github.com/repos/elyezer/robottelo/branches{/branch}","tags_url":"https://api.github.com/repos/elyezer/robottelo/tags","blobs_url":"https://api.github.com/repos/elyezer/robottelo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/elyezer/robottelo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/elyezer/robottelo/git/refs{/sha}","trees_url":"https://api.github.com/repos/elyezer/robottelo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/elyezer/robottelo/statuses/{sha}","languages_url":"https://api.github.com/repos/elyezer/robottelo/languages","stargazers_url":"https://api.github.com/repos/elyezer/robottelo/stargazers","contributors_url":"https://api.github.com/repos/elyezer/robottelo/contributors","subscribers_url":"https://api.github.com/repos/elyezer/robottelo/subscribers","subscription_url":"https://api.github.com/repos/elyezer/robottelo/subscription","commits_url":"https://api.github.com/repos/elyezer/robottelo/commits{/sha}","git_commits_url":"https://api.github.com/repos/elyezer/robottelo/git/commits{/sha}","comments_url":"https://api.github.com/repos/elyezer/robottelo/comments{/number}","issue_comment_url":"https://api.github.com/repos/elyezer/robottelo/issues/comments/{number}","contents_url":"https://api.github.com/repos/elyezer/robottelo/contents/{+path}","compare_url":"https://api.github.com/repos/elyezer/robottelo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/elyezer/robottelo/merges","archive_url":"https://api.github.com/repos/elyezer/robottelo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/elyezer/robottelo/downloads","issues_url":"https://api.github.com/repos/elyezer/robottelo/issues{/number}","pulls_url":"https://api.github.com/repos/elyezer/robottelo/pulls{/number}","milestones_url":"https://api.github.com/repos/elyezer/robottelo/milestones{/number}","notifications_url":"https://api.github.com/repos/elyezer/robottelo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/elyezer/robottelo/labels{/name}","releases_url":"https://api.github.com/repos/elyezer/robottelo/releases{/id}","created_at":"2013-11-06T01:31:06Z","updated_at":"2015-01-12T17:26:19Z","pushed_at":"2015-01-12T18:44:33Z","git_url":"git://github.com/elyezer/robottelo.git","ssh_url":"git@github.com:elyezer/robottelo.git","clone_url":"https://github.com/elyezer/robottelo.git","svn_url":"https://github.com/elyezer/robottelo","homepage":"","size":7690,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"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":"ee1868ddd5237e0c997ed0a29f76dcd3d73a9712","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}","created_at":"2012-04-12T01:36:39Z","updated_at":"2015-01-12T17:04:26Z","pushed_at":"2015-01-12T17:04:26Z","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":13829,"stargazers_count":19,"watchers_count":19,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":21,"mirror_url":null,"open_issues_count":124,"forks":21,"open_issues":124,"watchers":19,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SatelliteQE/robottelo/pulls/1826"},"html":{"href":"https://github.com/SatelliteQE/robottelo/pull/1826"},"issue":{"href":"https://api.github.com/repos/SatelliteQE/robottelo/issues/1826"},"comments":{"href":"https://api.github.com/repos/SatelliteQE/robottelo/issues/1826/comments"},"review_comments":{"href":"https://api.github.com/repos/SatelliteQE/robottelo/pulls/1826/comments"},"review_comment":{"href":"https://api.github.com/repos/SatelliteQE/robottelo/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/SatelliteQE/robottelo/pulls/1826/commits"},"statuses":{"href":"https://api.github.com/repos/SatelliteQE/robottelo/statuses/421392782154b454f2a214de5589cefe70d30f24"}}}}