{"action":"closed","number":2717,"pull_request":{"url":"https://api.github.com/repos/SatelliteQE/robottelo/pulls/2717","id":43621641,"html_url":"https://github.com/SatelliteQE/robottelo/pull/2717","diff_url":"https://github.com/SatelliteQE/robottelo/pull/2717.diff","patch_url":"https://github.com/SatelliteQE/robottelo/pull/2717.patch","issue_url":"https://api.github.com/repos/SatelliteQE/robottelo/issues/2717","number":2717,"state":"closed","locked":false,"title":"reuse code - DRY principle","user":{"login":"lpramuk","id":7138254,"avatar_url":"https://avatars.githubusercontent.com/u/7138254?v=3","gravatar_id":"","url":"https://api.github.com/users/lpramuk","html_url":"https://github.com/lpramuk","followers_url":"https://api.github.com/users/lpramuk/followers","following_url":"https://api.github.com/users/lpramuk/following{/other_user}","gists_url":"https://api.github.com/users/lpramuk/gists{/gist_id}","starred_url":"https://api.github.com/users/lpramuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lpramuk/subscriptions","organizations_url":"https://api.github.com/users/lpramuk/orgs","repos_url":"https://api.github.com/users/lpramuk/repos","events_url":"https://api.github.com/users/lpramuk/events{/privacy}","received_events_url":"https://api.github.com/users/lpramuk/received_events","type":"User","site_admin":false},"body":"let's use a function. that's what is it for.","created_at":"2015-08-28T12:14:24Z","updated_at":"2015-08-31T13:35:59Z","closed_at":"2015-08-31T13:35:59Z","merged_at":"2015-08-31T13:35:58Z","merge_commit_sha":"15eee851463d6c4115bea735c92cfcba4c577b61","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/SatelliteQE/robottelo/pulls/2717/commits","review_comments_url":"https://api.github.com/repos/SatelliteQE/robottelo/pulls/2717/comments","review_comment_url":"https://api.github.com/repos/SatelliteQE/robottelo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SatelliteQE/robottelo/issues/2717/comments","statuses_url":"https://api.github.com/repos/SatelliteQE/robottelo/statuses/649d37cdf6650dcb91f25554b75a6e0e0097b2c7","head":{"label":"lpramuk:code_reuse","ref":"code_reuse","sha":"649d37cdf6650dcb91f25554b75a6e0e0097b2c7","user":{"login":"lpramuk","id":7138254,"avatar_url":"https://avatars.githubusercontent.com/u/7138254?v=3","gravatar_id":"","url":"https://api.github.com/users/lpramuk","html_url":"https://github.com/lpramuk","followers_url":"https://api.github.com/users/lpramuk/followers","following_url":"https://api.github.com/users/lpramuk/following{/other_user}","gists_url":"https://api.github.com/users/lpramuk/gists{/gist_id}","starred_url":"https://api.github.com/users/lpramuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lpramuk/subscriptions","organizations_url":"https://api.github.com/users/lpramuk/orgs","repos_url":"https://api.github.com/users/lpramuk/repos","events_url":"https://api.github.com/users/lpramuk/events{/privacy}","received_events_url":"https://api.github.com/users/lpramuk/received_events","type":"User","site_admin":false},"repo":{"id":34668662,"name":"robottelo","full_name":"lpramuk/robottelo","owner":{"login":"lpramuk","id":7138254,"avatar_url":"https://avatars.githubusercontent.com/u/7138254?v=3","gravatar_id":"","url":"https://api.github.com/users/lpramuk","html_url":"https://github.com/lpramuk","followers_url":"https://api.github.com/users/lpramuk/followers","following_url":"https://api.github.com/users/lpramuk/following{/other_user}","gists_url":"https://api.github.com/users/lpramuk/gists{/gist_id}","starred_url":"https://api.github.com/users/lpramuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lpramuk/subscriptions","organizations_url":"https://api.github.com/users/lpramuk/orgs","repos_url":"https://api.github.com/users/lpramuk/repos","events_url":"https://api.github.com/users/lpramuk/events{/privacy}","received_events_url":"https://api.github.com/users/lpramuk/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lpramuk/robottelo","description":"Robottelo is a test suite which exercises The Foreman.","fork":true,"url":"https://api.github.com/repos/lpramuk/robottelo","forks_url":"https://api.github.com/repos/lpramuk/robottelo/forks","keys_url":"https://api.github.com/repos/lpramuk/robottelo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lpramuk/robottelo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lpramuk/robottelo/teams","hooks_url":"https://api.github.com/repos/lpramuk/robottelo/hooks","issue_events_url":"https://api.github.com/repos/lpramuk/robottelo/issues/events{/number}","events_url":"https://api.github.com/repos/lpramuk/robottelo/events","assignees_url":"https://api.github.com/repos/lpramuk/robottelo/assignees{/user}","branches_url":"https://api.github.com/repos/lpramuk/robottelo/branches{/branch}","tags_url":"https://api.github.com/repos/lpramuk/robottelo/tags","blobs_url":"https://api.github.com/repos/lpramuk/robottelo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lpramuk/robottelo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lpramuk/robottelo/git/refs{/sha}","trees_url":"https://api.github.com/repos/lpramuk/robottelo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lpramuk/robottelo/statuses/{sha}","languages_url":"https://api.github.com/repos/lpramuk/robottelo/languages","stargazers_url":"https://api.github.com/repos/lpramuk/robottelo/stargazers","contributors_url":"https://api.github.com/repos/lpramuk/robottelo/contributors","subscribers_url":"https://api.github.com/repos/lpramuk/robottelo/subscribers","subscription_url":"https://api.github.com/repos/lpramuk/robottelo/subscription","commits_url":"https://api.github.com/repos/lpramuk/robottelo/commits{/sha}","git_commits_url":"https://api.github.com/repos/lpramuk/robottelo/git/commits{/sha}","comments_url":"https://api.github.com/repos/lpramuk/robottelo/comments{/number}","issue_comment_url":"https://api.github.com/repos/lpramuk/robottelo/issues/comments{/number}","contents_url":"https://api.github.com/repos/lpramuk/robottelo/contents/{+path}","compare_url":"https://api.github.com/repos/lpramuk/robottelo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lpramuk/robottelo/merges","archive_url":"https://api.github.com/repos/lpramuk/robottelo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lpramuk/robottelo/downloads","issues_url":"https://api.github.com/repos/lpramuk/robottelo/issues{/number}","pulls_url":"https://api.github.com/repos/lpramuk/robottelo/pulls{/number}","milestones_url":"https://api.github.com/repos/lpramuk/robottelo/milestones{/number}","notifications_url":"https://api.github.com/repos/lpramuk/robottelo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lpramuk/robottelo/labels{/name}","releases_url":"https://api.github.com/repos/lpramuk/robottelo/releases{/id}","created_at":"2015-04-27T13:34:57Z","updated_at":"2015-04-27T13:34:58Z","pushed_at":"2015-08-31T12:35:03Z","git_url":"git://github.com/lpramuk/robottelo.git","ssh_url":"git@github.com:lpramuk/robottelo.git","clone_url":"https://github.com/lpramuk/robottelo.git","svn_url":"https://github.com/lpramuk/robottelo","homepage":"","size":8605,"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":"88c808974ade34256d6b4558b53d9c397ee5ccd7","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-08-04T16:49:37Z","pushed_at":"2015-08-31T13:35:58Z","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":18600,"stargazers_count":23,"watchers_count":23,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":29,"mirror_url":null,"open_issues_count":211,"forks":29,"open_issues":211,"watchers":23,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SatelliteQE/robottelo/pulls/2717"},"html":{"href":"https://github.com/SatelliteQE/robottelo/pull/2717"},"issue":{"href":"https://api.github.com/repos/SatelliteQE/robottelo/issues/2717"},"comments":{"href":"https://api.github.com/repos/SatelliteQE/robottelo/issues/2717/comments"},"review_comments":{"href":"https://api.github.com/repos/SatelliteQE/robottelo/pulls/2717/comments"},"review_comment":{"href":"https://api.github.com/repos/SatelliteQE/robottelo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SatelliteQE/robottelo/pulls/2717/commits"},"statuses":{"href":"https://api.github.com/repos/SatelliteQE/robottelo/statuses/649d37cdf6650dcb91f25554b75a6e0e0097b2c7"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"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},"comments":5,"review_comments":0,"commits":1,"additions":7,"deletions":35,"changed_files":1}}