{"action":"closed","number":3374,"pull_request":{"url":"https://api.github.com/repos/SatelliteQE/robottelo/pulls/3374","id":65770169,"html_url":"https://github.com/SatelliteQE/robottelo/pull/3374","diff_url":"https://github.com/SatelliteQE/robottelo/pull/3374.diff","patch_url":"https://github.com/SatelliteQE/robottelo/pull/3374.patch","issue_url":"https://api.github.com/repos/SatelliteQE/robottelo/issues/3374","number":3374,"state":"closed","locked":false,"title":"Fix CLI content view lce remove tests","user":{"login":"abalakh","id":11719030,"avatar_url":"https://avatars.githubusercontent.com/u/11719030?v=3","gravatar_id":"","url":"https://api.github.com/users/abalakh","html_url":"https://github.com/abalakh","followers_url":"https://api.github.com/users/abalakh/followers","following_url":"https://api.github.com/users/abalakh/following{/other_user}","gists_url":"https://api.github.com/users/abalakh/gists{/gist_id}","starred_url":"https://api.github.com/users/abalakh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abalakh/subscriptions","organizations_url":"https://api.github.com/users/abalakh/orgs","repos_url":"https://api.github.com/users/abalakh/repos","events_url":"https://api.github.com/users/abalakh/events{/privacy}","received_events_url":"https://api.github.com/users/abalakh/received_events","type":"User","site_admin":false},"body":"For some reason hammer started failing to remove a lce from cv when both cv id and org id are specified. I've submitted  [BZ1325113](https://bugzilla.redhat.com/show_bug.cgi?id=1325113), but specifying both cv id and org id is not needed - cv id is unique and enough to determine desired cv. \r\n```python\r\npy.test -v tests/foreman/cli/test_contentview.py -k 'test_positive_remove_lce_by_id or test_positive_remove_version_by_id'\r\n================================ test session starts =================================\r\nplatform linux2 -- Python 2.7.10, pytest-2.8.7, py-1.4.31, pluggy-0.3.1 -- /home/andrii/env/bin/python\r\ncachedir: .cache\r\nrootdir: /home/andrii/workspace/robottelo, inifile: \r\nplugins: xdist-1.13.1, repeat-0.2\r\ncollected 49 items \r\n\r\ntests/foreman/cli/test_contentview.py::ContentViewTestCase::test_positive_remove_lce_by_id <- robottelo/decorators.py PASSED\r\ntests/foreman/cli/test_contentview.py::ContentViewTestCase::test_positive_remove_lce_by_id_and_reassign_ak <- robottelo/decorators.py PASSED\r\ntests/foreman/cli/test_contentview.py::ContentViewTestCase::test_positive_remove_lce_by_id_and_reassign_chost <- robottelo/decorators.py PASSED\r\ntests/foreman/cli/test_contentview.py::ContentViewTestCase::test_positive_remove_version_by_id <- robottelo/decorators.py PASSED\r\n\r\n 45 tests deselected by '-ktest_positive_remove_lce_by_id or test_positive_remove_version_by_id' \r\n===================== 4 passed, 45 deselected in 892.07 seconds ======================\r\n```","created_at":"2016-04-08T11:04:10Z","updated_at":"2016-04-08T11:18:35Z","closed_at":"2016-04-08T11:18:35Z","merged_at":"2016-04-08T11:18:35Z","merge_commit_sha":"5d7dae59252eb4713ebc5dfcd0f66574c722b036","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/SatelliteQE/robottelo/pulls/3374/commits","review_comments_url":"https://api.github.com/repos/SatelliteQE/robottelo/pulls/3374/comments","review_comment_url":"https://api.github.com/repos/SatelliteQE/robottelo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SatelliteQE/robottelo/issues/3374/comments","statuses_url":"https://api.github.com/repos/SatelliteQE/robottelo/statuses/80f6e170a9b4116eae2ebe5fb0474a6e3248be57","head":{"label":"abalakh:fix_cv_remove","ref":"fix_cv_remove","sha":"80f6e170a9b4116eae2ebe5fb0474a6e3248be57","user":{"login":"abalakh","id":11719030,"avatar_url":"https://avatars.githubusercontent.com/u/11719030?v=3","gravatar_id":"","url":"https://api.github.com/users/abalakh","html_url":"https://github.com/abalakh","followers_url":"https://api.github.com/users/abalakh/followers","following_url":"https://api.github.com/users/abalakh/following{/other_user}","gists_url":"https://api.github.com/users/abalakh/gists{/gist_id}","starred_url":"https://api.github.com/users/abalakh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abalakh/subscriptions","organizations_url":"https://api.github.com/users/abalakh/orgs","repos_url":"https://api.github.com/users/abalakh/repos","events_url":"https://api.github.com/users/abalakh/events{/privacy}","received_events_url":"https://api.github.com/users/abalakh/received_events","type":"User","site_admin":false},"repo":{"id":33126603,"name":"robottelo","full_name":"abalakh/robottelo","owner":{"login":"abalakh","id":11719030,"avatar_url":"https://avatars.githubusercontent.com/u/11719030?v=3","gravatar_id":"","url":"https://api.github.com/users/abalakh","html_url":"https://github.com/abalakh","followers_url":"https://api.github.com/users/abalakh/followers","following_url":"https://api.github.com/users/abalakh/following{/other_user}","gists_url":"https://api.github.com/users/abalakh/gists{/gist_id}","starred_url":"https://api.github.com/users/abalakh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abalakh/subscriptions","organizations_url":"https://api.github.com/users/abalakh/orgs","repos_url":"https://api.github.com/users/abalakh/repos","events_url":"https://api.github.com/users/abalakh/events{/privacy}","received_events_url":"https://api.github.com/users/abalakh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/abalakh/robottelo","description":"Robottelo is a test suite which exercises The Foreman.","fork":true,"url":"https://api.github.com/repos/abalakh/robottelo","forks_url":"https://api.github.com/repos/abalakh/robottelo/forks","keys_url":"https://api.github.com/repos/abalakh/robottelo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/abalakh/robottelo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/abalakh/robottelo/teams","hooks_url":"https://api.github.com/repos/abalakh/robottelo/hooks","issue_events_url":"https://api.github.com/repos/abalakh/robottelo/issues/events{/number}","events_url":"https://api.github.com/repos/abalakh/robottelo/events","assignees_url":"https://api.github.com/repos/abalakh/robottelo/assignees{/user}","branches_url":"https://api.github.com/repos/abalakh/robottelo/branches{/branch}","tags_url":"https://api.github.com/repos/abalakh/robottelo/tags","blobs_url":"https://api.github.com/repos/abalakh/robottelo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/abalakh/robottelo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/abalakh/robottelo/git/refs{/sha}","trees_url":"https://api.github.com/repos/abalakh/robottelo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/abalakh/robottelo/statuses/{sha}","languages_url":"https://api.github.com/repos/abalakh/robottelo/languages","stargazers_url":"https://api.github.com/repos/abalakh/robottelo/stargazers","contributors_url":"https://api.github.com/repos/abalakh/robottelo/contributors","subscribers_url":"https://api.github.com/repos/abalakh/robottelo/subscribers","subscription_url":"https://api.github.com/repos/abalakh/robottelo/subscription","commits_url":"https://api.github.com/repos/abalakh/robottelo/commits{/sha}","git_commits_url":"https://api.github.com/repos/abalakh/robottelo/git/commits{/sha}","comments_url":"https://api.github.com/repos/abalakh/robottelo/comments{/number}","issue_comment_url":"https://api.github.com/repos/abalakh/robottelo/issues/comments{/number}","contents_url":"https://api.github.com/repos/abalakh/robottelo/contents/{+path}","compare_url":"https://api.github.com/repos/abalakh/robottelo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/abalakh/robottelo/merges","archive_url":"https://api.github.com/repos/abalakh/robottelo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/abalakh/robottelo/downloads","issues_url":"https://api.github.com/repos/abalakh/robottelo/issues{/number}","pulls_url":"https://api.github.com/repos/abalakh/robottelo/pulls{/number}","milestones_url":"https://api.github.com/repos/abalakh/robottelo/milestones{/number}","notifications_url":"https://api.github.com/repos/abalakh/robottelo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/abalakh/robottelo/labels{/name}","releases_url":"https://api.github.com/repos/abalakh/robottelo/releases{/id}","deployments_url":"https://api.github.com/repos/abalakh/robottelo/deployments","created_at":"2015-03-30T14:04:24Z","updated_at":"2015-05-07T13:12:41Z","pushed_at":"2016-04-08T10:58:43Z","git_url":"git://github.com/abalakh/robottelo.git","ssh_url":"git@github.com:abalakh/robottelo.git","clone_url":"https://github.com/abalakh/robottelo.git","svn_url":"https://github.com/abalakh/robottelo","homepage":"","size":11364,"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":"b5823cb7ce61d0dbe6a7d26774c7e3d1d74e464c","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-04-08T11:18:35Z","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":12394,"stargazers_count":23,"watchers_count":23,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":39,"mirror_url":null,"open_issues_count":125,"forks":39,"open_issues":125,"watchers":23,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SatelliteQE/robottelo/pulls/3374"},"html":{"href":"https://github.com/SatelliteQE/robottelo/pull/3374"},"issue":{"href":"https://api.github.com/repos/SatelliteQE/robottelo/issues/3374"},"comments":{"href":"https://api.github.com/repos/SatelliteQE/robottelo/issues/3374/comments"},"review_comments":{"href":"https://api.github.com/repos/SatelliteQE/robottelo/pulls/3374/comments"},"review_comment":{"href":"https://api.github.com/repos/SatelliteQE/robottelo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SatelliteQE/robottelo/pulls/3374/commits"},"statuses":{"href":"https://api.github.com/repos/SatelliteQE/robottelo/statuses/80f6e170a9b4116eae2ebe5fb0474a6e3248be57"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"oshtaier","id":10895065,"avatar_url":"https://avatars.githubusercontent.com/u/10895065?v=3","gravatar_id":"","url":"https://api.github.com/users/oshtaier","html_url":"https://github.com/oshtaier","followers_url":"https://api.github.com/users/oshtaier/followers","following_url":"https://api.github.com/users/oshtaier/following{/other_user}","gists_url":"https://api.github.com/users/oshtaier/gists{/gist_id}","starred_url":"https://api.github.com/users/oshtaier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oshtaier/subscriptions","organizations_url":"https://api.github.com/users/oshtaier/orgs","repos_url":"https://api.github.com/users/oshtaier/repos","events_url":"https://api.github.com/users/oshtaier/events{/privacy}","received_events_url":"https://api.github.com/users/oshtaier/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"commits":1,"additions":1,"deletions":4,"changed_files":1}}