{"action":"created","comment":{"url":"https://api.github.com/repos/SatelliteQE/robottelo/pulls/comments/77789185","id":77789185,"diff_hunk":"@@ -584,9 +874,21 @@ def test_positive_create_matcher_puppet_default_value(self):\n         puppet default value.\n \n         @assert: The matcher has been created successfully.\n-\n-        @caseautomation: notautomated\n         \"\"\"\n+        sc_param = self.sc_params_list.pop()\n+        value = gen_string('alpha')\n+        sc_param.override = True\n+        sc_param.default_value = gen_string('alpha')\n+        entities.OverrideValue(\n+            smart_class_parameter=sc_param,\n+            match='domain=example.com',\n+            value=value,\n+            use_puppet_default=True,\n+        ).create()\n+        sc_param = sc_param.read()\n+        self.assertEqual(\n+            sc_param.override_values[0]['match'], 'domain=example.com')\n+        self.assertEqual(sc_param.override_values[0]['value'], value)\n ","path":"tests/foreman/api/test_classparameters.py","position":929,"original_position":929,"commit_id":"0ec7764cd21732f85a5deb5dc4292352699c5fff","original_commit_id":"0ec7764cd21732f85a5deb5dc4292352699c5fff","user":{"login":"jyejare","id":11752425,"avatar_url":"https://avatars.githubusercontent.com/u/11752425?v=3","gravatar_id":"","url":"https://api.github.com/users/jyejare","html_url":"https://github.com/jyejare","followers_url":"https://api.github.com/users/jyejare/followers","following_url":"https://api.github.com/users/jyejare/following{/other_user}","gists_url":"https://api.github.com/users/jyejare/gists{/gist_id}","starred_url":"https://api.github.com/users/jyejare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jyejare/subscriptions","organizations_url":"https://api.github.com/users/jyejare/orgs","repos_url":"https://api.github.com/users/jyejare/repos","events_url":"https://api.github.com/users/jyejare/events{/privacy}","received_events_url":"https://api.github.com/users/jyejare/received_events","type":"User","site_admin":false},"body":"Can you please add assert statement for 'use_puppet_default' is true.'","created_at":"2016-09-07T09:31:41Z","updated_at":"2016-09-07T09:31:41Z","html_url":"https://github.com/SatelliteQE/robottelo/pull/3777#discussion_r77789185","pull_request_url":"https://api.github.com/repos/SatelliteQE/robottelo/pulls/3777","_links":{"self":{"href":"https://api.github.com/repos/SatelliteQE/robottelo/pulls/comments/77789185"},"html":{"href":"https://github.com/SatelliteQE/robottelo/pull/3777#discussion_r77789185"},"pull_request":{"href":"https://api.github.com/repos/SatelliteQE/robottelo/pulls/3777"}}},"pull_request":{"url":"https://api.github.com/repos/SatelliteQE/robottelo/pulls/3777","id":83766577,"html_url":"https://github.com/SatelliteQE/robottelo/pull/3777","diff_url":"https://github.com/SatelliteQE/robottelo/pull/3777.diff","patch_url":"https://github.com/SatelliteQE/robottelo/pull/3777.patch","issue_url":"https://api.github.com/repos/SatelliteQE/robottelo/issues/3777","number":3777,"state":"open","locked":false,"title":"Added tests for Smart Class Parameters","user":{"login":"svtkachenko","id":2845814,"avatar_url":"https://avatars.githubusercontent.com/u/2845814?v=3","gravatar_id":"","url":"https://api.github.com/users/svtkachenko","html_url":"https://github.com/svtkachenko","followers_url":"https://api.github.com/users/svtkachenko/followers","following_url":"https://api.github.com/users/svtkachenko/following{/other_user}","gists_url":"https://api.github.com/users/svtkachenko/gists{/gist_id}","starred_url":"https://api.github.com/users/svtkachenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svtkachenko/subscriptions","organizations_url":"https://api.github.com/users/svtkachenko/orgs","repos_url":"https://api.github.com/users/svtkachenko/repos","events_url":"https://api.github.com/users/svtkachenko/events{/privacy}","received_events_url":"https://api.github.com/users/svtkachenko/received_events","type":"User","site_admin":false},"body":"Depends on SatelliteQE/nailgun#313. Closes #3751\r\nMostly adoptation of CLI tests from #3576. Dataset should be updated after #3620\r\n```python\r\npy.test -v -k \"SmartClassParametersTestCase\" tests/foreman/api/test_classparameters.py\r\n===================================================================== test session starts =====================================================================\r\nplatform linux2 -- Python 2.7.12, pytest-3.0.1, py-1.4.31, pluggy-0.3.1 -- /home/qui/code/robottelo/venv2/bin/python2.7\r\ncachedir: .cache\r\nrootdir: /home/qui/code/robottelo, inifile: \r\nplugins: cov-2.3.1, xdist-1.15.0\r\ncollected 46 items \r\n=========================================================== 36 passed, 10 skipped in 138.09 seconds ===========================================================\r\n```","created_at":"2016-09-02T08:54:39Z","updated_at":"2016-09-07T09:31:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6da6cefd46440606c0bc2ec92936eaf975df0e9d","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/SatelliteQE/robottelo/pulls/3777/commits","review_comments_url":"https://api.github.com/repos/SatelliteQE/robottelo/pulls/3777/comments","review_comment_url":"https://api.github.com/repos/SatelliteQE/robottelo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SatelliteQE/robottelo/issues/3777/comments","statuses_url":"https://api.github.com/repos/SatelliteQE/robottelo/statuses/0ec7764cd21732f85a5deb5dc4292352699c5fff","head":{"label":"svtkachenko:add_t_cp","ref":"add_t_cp","sha":"0ec7764cd21732f85a5deb5dc4292352699c5fff","user":{"login":"svtkachenko","id":2845814,"avatar_url":"https://avatars.githubusercontent.com/u/2845814?v=3","gravatar_id":"","url":"https://api.github.com/users/svtkachenko","html_url":"https://github.com/svtkachenko","followers_url":"https://api.github.com/users/svtkachenko/followers","following_url":"https://api.github.com/users/svtkachenko/following{/other_user}","gists_url":"https://api.github.com/users/svtkachenko/gists{/gist_id}","starred_url":"https://api.github.com/users/svtkachenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svtkachenko/subscriptions","organizations_url":"https://api.github.com/users/svtkachenko/orgs","repos_url":"https://api.github.com/users/svtkachenko/repos","events_url":"https://api.github.com/users/svtkachenko/events{/privacy}","received_events_url":"https://api.github.com/users/svtkachenko/received_events","type":"User","site_admin":false},"repo":{"id":62543012,"name":"robottelo","full_name":"svtkachenko/robottelo","owner":{"login":"svtkachenko","id":2845814,"avatar_url":"https://avatars.githubusercontent.com/u/2845814?v=3","gravatar_id":"","url":"https://api.github.com/users/svtkachenko","html_url":"https://github.com/svtkachenko","followers_url":"https://api.github.com/users/svtkachenko/followers","following_url":"https://api.github.com/users/svtkachenko/following{/other_user}","gists_url":"https://api.github.com/users/svtkachenko/gists{/gist_id}","starred_url":"https://api.github.com/users/svtkachenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svtkachenko/subscriptions","organizations_url":"https://api.github.com/users/svtkachenko/orgs","repos_url":"https://api.github.com/users/svtkachenko/repos","events_url":"https://api.github.com/users/svtkachenko/events{/privacy}","received_events_url":"https://api.github.com/users/svtkachenko/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/svtkachenko/robottelo","description":"Robottelo is a test suite which exercises The Foreman.","fork":true,"url":"https://api.github.com/repos/svtkachenko/robottelo","forks_url":"https://api.github.com/repos/svtkachenko/robottelo/forks","keys_url":"https://api.github.com/repos/svtkachenko/robottelo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/svtkachenko/robottelo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/svtkachenko/robottelo/teams","hooks_url":"https://api.github.com/repos/svtkachenko/robottelo/hooks","issue_events_url":"https://api.github.com/repos/svtkachenko/robottelo/issues/events{/number}","events_url":"https://api.github.com/repos/svtkachenko/robottelo/events","assignees_url":"https://api.github.com/repos/svtkachenko/robottelo/assignees{/user}","branches_url":"https://api.github.com/repos/svtkachenko/robottelo/branches{/branch}","tags_url":"https://api.github.com/repos/svtkachenko/robottelo/tags","blobs_url":"https://api.github.com/repos/svtkachenko/robottelo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/svtkachenko/robottelo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/svtkachenko/robottelo/git/refs{/sha}","trees_url":"https://api.github.com/repos/svtkachenko/robottelo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/svtkachenko/robottelo/statuses/{sha}","languages_url":"https://api.github.com/repos/svtkachenko/robottelo/languages","stargazers_url":"https://api.github.com/repos/svtkachenko/robottelo/stargazers","contributors_url":"https://api.github.com/repos/svtkachenko/robottelo/contributors","subscribers_url":"https://api.github.com/repos/svtkachenko/robottelo/subscribers","subscription_url":"https://api.github.com/repos/svtkachenko/robottelo/subscription","commits_url":"https://api.github.com/repos/svtkachenko/robottelo/commits{/sha}","git_commits_url":"https://api.github.com/repos/svtkachenko/robottelo/git/commits{/sha}","comments_url":"https://api.github.com/repos/svtkachenko/robottelo/comments{/number}","issue_comment_url":"https://api.github.com/repos/svtkachenko/robottelo/issues/comments{/number}","contents_url":"https://api.github.com/repos/svtkachenko/robottelo/contents/{+path}","compare_url":"https://api.github.com/repos/svtkachenko/robottelo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/svtkachenko/robottelo/merges","archive_url":"https://api.github.com/repos/svtkachenko/robottelo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/svtkachenko/robottelo/downloads","issues_url":"https://api.github.com/repos/svtkachenko/robottelo/issues{/number}","pulls_url":"https://api.github.com/repos/svtkachenko/robottelo/pulls{/number}","milestones_url":"https://api.github.com/repos/svtkachenko/robottelo/milestones{/number}","notifications_url":"https://api.github.com/repos/svtkachenko/robottelo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/svtkachenko/robottelo/labels{/name}","releases_url":"https://api.github.com/repos/svtkachenko/robottelo/releases{/id}","deployments_url":"https://api.github.com/repos/svtkachenko/robottelo/deployments","created_at":"2016-07-04T08:01:05Z","updated_at":"2016-07-04T08:01:08Z","pushed_at":"2016-09-05T20:31:50Z","git_url":"git://github.com/svtkachenko/robottelo.git","ssh_url":"git@github.com:svtkachenko/robottelo.git","clone_url":"https://github.com/svtkachenko/robottelo.git","svn_url":"https://github.com/svtkachenko/robottelo","homepage":"","size":13153,"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":"6d0d17e0a4f7db93be24aa97d9ba19b91da17d89","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-08-22T09:17:29Z","pushed_at":"2016-09-07T06:26:24Z","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":14317,"stargazers_count":25,"watchers_count":25,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":45,"mirror_url":null,"open_issues_count":173,"forks":45,"open_issues":173,"watchers":25,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SatelliteQE/robottelo/pulls/3777"},"html":{"href":"https://github.com/SatelliteQE/robottelo/pull/3777"},"issue":{"href":"https://api.github.com/repos/SatelliteQE/robottelo/issues/3777"},"comments":{"href":"https://api.github.com/repos/SatelliteQE/robottelo/issues/3777/comments"},"review_comments":{"href":"https://api.github.com/repos/SatelliteQE/robottelo/pulls/3777/comments"},"review_comment":{"href":"https://api.github.com/repos/SatelliteQE/robottelo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SatelliteQE/robottelo/pulls/3777/commits"},"statuses":{"href":"https://api.github.com/repos/SatelliteQE/robottelo/statuses/0ec7764cd21732f85a5deb5dc4292352699c5fff"}}}}
{"actor":{"display_login":"jyejare"}}