{"action":"created","comment":{"url":"https://api.github.com/repos/SatelliteQE/robottelo/pulls/comments/52486481","id":52486481,"diff_hunk":"@@ -159,6 +165,47 @@ def test_positive_create_with_puppet_repo(self):\n \n     @run_only_on('sat')\n     @tier1\n+    def test_positive_create_with_auth_yum_repo(self):\n+        \"\"\"Create YUM repository with basic HTTP authentication\n+\n+        @Feature: Repository\n+\n+        @Assert: YUM repository is created\n+        \"\"\"\n+        for creds in valid_http_credentials(url_encoded=True):\n+            for url in (FAKE_5_YUM_REPO,):\n+                url_encoded = url.format(creds['login'], creds['pass'])\n+                print(url_encoded)\n+                with self.subTest(url):\n+                    new_repo = self._make_repository({\n+                        u'content-type': u'yum',\n+                        u'url': url_encoded\n+                    })\n+                    self.assertEqual(new_repo['url'], url_encoded)\n+                    self.assertEqual(new_repo['content-type'], u'yum')\n+\n+    @tier1\n+    def test_positive_create_with_auth_puppet_repo(self):\n+        \"\"\"Create Puppet repository with basic HTTP authentication\n+\n+        @Feature: Repository\n+\n+        @Assert: Puppet repository is created\n+        \"\"\"\n+        for creds in valid_http_credentials(url_encoded=True):\n+            for url in (FAKE_7_PUPPET_REPO,):\n+                url_encoded = url.format(creds['login'], creds['pass'])\n+                print(url_encoded)","path":"tests/foreman/cli/test_repository.py","position":56,"original_position":56,"commit_id":"2cfac44548a5b9727a5096a54bf988fc87588d7c","original_commit_id":"2cfac44548a5b9727a5096a54bf988fc87588d7c","user":{"login":"sthirugn","id":3309189,"avatar_url":"https://avatars.githubusercontent.com/u/3309189?v=3","gravatar_id":"","url":"https://api.github.com/users/sthirugn","html_url":"https://github.com/sthirugn","followers_url":"https://api.github.com/users/sthirugn/followers","following_url":"https://api.github.com/users/sthirugn/following{/other_user}","gists_url":"https://api.github.com/users/sthirugn/gists{/gist_id}","starred_url":"https://api.github.com/users/sthirugn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sthirugn/subscriptions","organizations_url":"https://api.github.com/users/sthirugn/orgs","repos_url":"https://api.github.com/users/sthirugn/repos","events_url":"https://api.github.com/users/sthirugn/events{/privacy}","received_events_url":"https://api.github.com/users/sthirugn/received_events","type":"User","site_admin":false},"body":"please remove print","created_at":"2016-02-10T16:51:05Z","updated_at":"2016-02-10T16:51:05Z","html_url":"https://github.com/SatelliteQE/robottelo/pull/3285#discussion_r52486481","pull_request_url":"https://api.github.com/repos/SatelliteQE/robottelo/pulls/3285","_links":{"self":{"href":"https://api.github.com/repos/SatelliteQE/robottelo/pulls/comments/52486481"},"html":{"href":"https://github.com/SatelliteQE/robottelo/pull/3285#discussion_r52486481"},"pull_request":{"href":"https://api.github.com/repos/SatelliteQE/robottelo/pulls/3285"}}},"pull_request":{"url":"https://api.github.com/repos/SatelliteQE/robottelo/pulls/3285","id":58892525,"html_url":"https://github.com/SatelliteQE/robottelo/pull/3285","diff_url":"https://github.com/SatelliteQE/robottelo/pull/3285.diff","patch_url":"https://github.com/SatelliteQE/robottelo/pull/3285.patch","issue_url":"https://api.github.com/repos/SatelliteQE/robottelo/issues/3285","number":3285,"state":"open","locked":false,"title":"Repository - added CLI tests for secured repos","user":{"login":"rplevka","id":11773362,"avatar_url":"https://avatars.githubusercontent.com/u/11773362?v=3","gravatar_id":"","url":"https://api.github.com/users/rplevka","html_url":"https://github.com/rplevka","followers_url":"https://api.github.com/users/rplevka/followers","following_url":"https://api.github.com/users/rplevka/following{/other_user}","gists_url":"https://api.github.com/users/rplevka/gists{/gist_id}","starred_url":"https://api.github.com/users/rplevka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rplevka/subscriptions","organizations_url":"https://api.github.com/users/rplevka/orgs","repos_url":"https://api.github.com/users/rplevka/repos","events_url":"https://api.github.com/users/rplevka/events{/privacy}","received_events_url":"https://api.github.com/users/rplevka/received_events","type":"User","site_admin":false},"body":"added CLI tests for secured repos","created_at":"2016-02-10T13:50:35Z","updated_at":"2016-02-10T16:51:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ed45ecf5577a3348c54eed905bac0c00e75740ab","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/SatelliteQE/robottelo/pulls/3285/commits","review_comments_url":"https://api.github.com/repos/SatelliteQE/robottelo/pulls/3285/comments","review_comment_url":"https://api.github.com/repos/SatelliteQE/robottelo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SatelliteQE/robottelo/issues/3285/comments","statuses_url":"https://api.github.com/repos/SatelliteQE/robottelo/statuses/2cfac44548a5b9727a5096a54bf988fc87588d7c","head":{"label":"rplevka:http_auth","ref":"http_auth","sha":"2cfac44548a5b9727a5096a54bf988fc87588d7c","user":{"login":"rplevka","id":11773362,"avatar_url":"https://avatars.githubusercontent.com/u/11773362?v=3","gravatar_id":"","url":"https://api.github.com/users/rplevka","html_url":"https://github.com/rplevka","followers_url":"https://api.github.com/users/rplevka/followers","following_url":"https://api.github.com/users/rplevka/following{/other_user}","gists_url":"https://api.github.com/users/rplevka/gists{/gist_id}","starred_url":"https://api.github.com/users/rplevka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rplevka/subscriptions","organizations_url":"https://api.github.com/users/rplevka/orgs","repos_url":"https://api.github.com/users/rplevka/repos","events_url":"https://api.github.com/users/rplevka/events{/privacy}","received_events_url":"https://api.github.com/users/rplevka/received_events","type":"User","site_admin":false},"repo":{"id":34329745,"name":"robottelo","full_name":"rplevka/robottelo","owner":{"login":"rplevka","id":11773362,"avatar_url":"https://avatars.githubusercontent.com/u/11773362?v=3","gravatar_id":"","url":"https://api.github.com/users/rplevka","html_url":"https://github.com/rplevka","followers_url":"https://api.github.com/users/rplevka/followers","following_url":"https://api.github.com/users/rplevka/following{/other_user}","gists_url":"https://api.github.com/users/rplevka/gists{/gist_id}","starred_url":"https://api.github.com/users/rplevka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rplevka/subscriptions","organizations_url":"https://api.github.com/users/rplevka/orgs","repos_url":"https://api.github.com/users/rplevka/repos","events_url":"https://api.github.com/users/rplevka/events{/privacy}","received_events_url":"https://api.github.com/users/rplevka/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rplevka/robottelo","description":"Robottelo is a test suite which exercises The Foreman.","fork":true,"url":"https://api.github.com/repos/rplevka/robottelo","forks_url":"https://api.github.com/repos/rplevka/robottelo/forks","keys_url":"https://api.github.com/repos/rplevka/robottelo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rplevka/robottelo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rplevka/robottelo/teams","hooks_url":"https://api.github.com/repos/rplevka/robottelo/hooks","issue_events_url":"https://api.github.com/repos/rplevka/robottelo/issues/events{/number}","events_url":"https://api.github.com/repos/rplevka/robottelo/events","assignees_url":"https://api.github.com/repos/rplevka/robottelo/assignees{/user}","branches_url":"https://api.github.com/repos/rplevka/robottelo/branches{/branch}","tags_url":"https://api.github.com/repos/rplevka/robottelo/tags","blobs_url":"https://api.github.com/repos/rplevka/robottelo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rplevka/robottelo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rplevka/robottelo/git/refs{/sha}","trees_url":"https://api.github.com/repos/rplevka/robottelo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rplevka/robottelo/statuses/{sha}","languages_url":"https://api.github.com/repos/rplevka/robottelo/languages","stargazers_url":"https://api.github.com/repos/rplevka/robottelo/stargazers","contributors_url":"https://api.github.com/repos/rplevka/robottelo/contributors","subscribers_url":"https://api.github.com/repos/rplevka/robottelo/subscribers","subscription_url":"https://api.github.com/repos/rplevka/robottelo/subscription","commits_url":"https://api.github.com/repos/rplevka/robottelo/commits{/sha}","git_commits_url":"https://api.github.com/repos/rplevka/robottelo/git/commits{/sha}","comments_url":"https://api.github.com/repos/rplevka/robottelo/comments{/number}","issue_comment_url":"https://api.github.com/repos/rplevka/robottelo/issues/comments{/number}","contents_url":"https://api.github.com/repos/rplevka/robottelo/contents/{+path}","compare_url":"https://api.github.com/repos/rplevka/robottelo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rplevka/robottelo/merges","archive_url":"https://api.github.com/repos/rplevka/robottelo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rplevka/robottelo/downloads","issues_url":"https://api.github.com/repos/rplevka/robottelo/issues{/number}","pulls_url":"https://api.github.com/repos/rplevka/robottelo/pulls{/number}","milestones_url":"https://api.github.com/repos/rplevka/robottelo/milestones{/number}","notifications_url":"https://api.github.com/repos/rplevka/robottelo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rplevka/robottelo/labels{/name}","releases_url":"https://api.github.com/repos/rplevka/robottelo/releases{/id}","deployments_url":"https://api.github.com/repos/rplevka/robottelo/deployments","created_at":"2015-04-21T13:47:48Z","updated_at":"2016-01-21T10:17:36Z","pushed_at":"2016-02-10T13:49:05Z","git_url":"git://github.com/rplevka/robottelo.git","ssh_url":"git@github.com:rplevka/robottelo.git","clone_url":"https://github.com/rplevka/robottelo.git","svn_url":"https://github.com/rplevka/robottelo","homepage":"","size":10901,"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":"05e45b7ac0d5b3d88fbf43d304888bc86865d3c2","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-01-08T15:06:33Z","pushed_at":"2016-02-10T15:58:15Z","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":11977,"stargazers_count":23,"watchers_count":23,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":35,"mirror_url":null,"open_issues_count":138,"forks":35,"open_issues":138,"watchers":23,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SatelliteQE/robottelo/pulls/3285"},"html":{"href":"https://github.com/SatelliteQE/robottelo/pull/3285"},"issue":{"href":"https://api.github.com/repos/SatelliteQE/robottelo/issues/3285"},"comments":{"href":"https://api.github.com/repos/SatelliteQE/robottelo/issues/3285/comments"},"review_comments":{"href":"https://api.github.com/repos/SatelliteQE/robottelo/pulls/3285/comments"},"review_comment":{"href":"https://api.github.com/repos/SatelliteQE/robottelo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SatelliteQE/robottelo/pulls/3285/commits"},"statuses":{"href":"https://api.github.com/repos/SatelliteQE/robottelo/statuses/2cfac44548a5b9727a5096a54bf988fc87588d7c"}}}}