{"action":"created","comment":{"url":"https://api.github.com/repos/oppia/oppia/pulls/comments/243634317","pull_request_review_id":187464091,"id":243634317,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0MzYzNDMxNw==","diff_hunk":"@@ -581,3 +584,304 @@ def test_notification_email_list_validator(self):\n         invalid_vals = [[u'admin@oppia'], big_email_list,\n                         [u'admin@oppia.commmm'], [u'a@.com']]\n         self.check_normalization(schema, mappings, invalid_vals)\n+\n+\n+class CustomizationArgsUtilUnitTests(test_utils.GenericTestBase):\n+    \"\"\"Test customization args generation and validation.\"\"\"\n+\n+    def test_get_full_customization_args(self):\n+        \"\"\"Test get full customization args method.\"\"\"\n+        ca_specs1 = interaction_registry.Registry.get_interaction_by_id(\n+            'Continue').customization_arg_specs\n+\n+        customization_args1a = {\n+            'buttonText': {'value': 'Please Continue'}\n+        }\n+\n+        customization_args1b = {","path":"schema_utils_test.py","position":32,"original_position":32,"commit_id":"4c69af642f3c5375337d145d2de921165e997b68","original_commit_id":"4c69af642f3c5375337d145d2de921165e997b68","user":{"login":"brianrodri","id":5094060,"node_id":"MDQ6VXNlcjUwOTQwNjA=","avatar_url":"https://avatars1.githubusercontent.com/u/5094060?v=4","gravatar_id":"","url":"https://api.github.com/users/brianrodri","html_url":"https://github.com/brianrodri","followers_url":"https://api.github.com/users/brianrodri/followers","following_url":"https://api.github.com/users/brianrodri/following{/other_user}","gists_url":"https://api.github.com/users/brianrodri/gists{/gist_id}","starred_url":"https://api.github.com/users/brianrodri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brianrodri/subscriptions","organizations_url":"https://api.github.com/users/brianrodri/orgs","repos_url":"https://api.github.com/users/brianrodri/repos","events_url":"https://api.github.com/users/brianrodri/events{/privacy}","received_events_url":"https://api.github.com/users/brianrodri/received_events","type":"User","site_admin":false},"body":"Rename to: `customization_args_with_extra_arg`","created_at":"2018-12-21T16:47:23Z","updated_at":"2018-12-21T16:51:55Z","html_url":"https://github.com/oppia/oppia/pull/6015#discussion_r243634317","pull_request_url":"https://api.github.com/repos/oppia/oppia/pulls/6015","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/oppia/oppia/pulls/comments/243634317"},"html":{"href":"https://github.com/oppia/oppia/pull/6015#discussion_r243634317"},"pull_request":{"href":"https://api.github.com/repos/oppia/oppia/pulls/6015"}}},"pull_request":{"url":"https://api.github.com/repos/oppia/oppia/pulls/6015","id":240184109,"node_id":"MDExOlB1bGxSZXF1ZXN0MjQwMTg0MTA5","html_url":"https://github.com/oppia/oppia/pull/6015","diff_url":"https://github.com/oppia/oppia/pull/6015.diff","patch_url":"https://github.com/oppia/oppia/pull/6015.patch","issue_url":"https://api.github.com/repos/oppia/oppia/issues/6015","number":6015,"state":"open","locked":false,"title":"Fix #4968: Move customization args method from state_domain to utils","user":{"login":"ankita240796","id":15226041,"node_id":"MDQ6VXNlcjE1MjI2MDQx","avatar_url":"https://avatars3.githubusercontent.com/u/15226041?v=4","gravatar_id":"","url":"https://api.github.com/users/ankita240796","html_url":"https://github.com/ankita240796","followers_url":"https://api.github.com/users/ankita240796/followers","following_url":"https://api.github.com/users/ankita240796/following{/other_user}","gists_url":"https://api.github.com/users/ankita240796/gists{/gist_id}","starred_url":"https://api.github.com/users/ankita240796/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ankita240796/subscriptions","organizations_url":"https://api.github.com/users/ankita240796/orgs","repos_url":"https://api.github.com/users/ankita240796/repos","events_url":"https://api.github.com/users/ankita240796/events{/privacy}","received_events_url":"https://api.github.com/users/ankita240796/received_events","type":"User","site_admin":false},"body":"## Explanation\r\nFixes #4968: \r\n- Moved `get_full_customization_args` and `validate_customization_args_and_values` from `state_domain.py` to `schema_utils.py`.\r\n- Added test for both these methods.","created_at":"2018-12-20T14:13:37Z","updated_at":"2018-12-21T16:51:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e975a4318f9e386ae21c73eef4b33c1c7dd1832c","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/oppia/oppia/pulls/6015/commits","review_comments_url":"https://api.github.com/repos/oppia/oppia/pulls/6015/comments","review_comment_url":"https://api.github.com/repos/oppia/oppia/pulls/comments{/number}","comments_url":"https://api.github.com/repos/oppia/oppia/issues/6015/comments","statuses_url":"https://api.github.com/repos/oppia/oppia/statuses/4c69af642f3c5375337d145d2de921165e997b68","head":{"label":"ankita240796:move-customizationArgs-func","ref":"move-customizationArgs-func","sha":"4c69af642f3c5375337d145d2de921165e997b68","user":{"login":"ankita240796","id":15226041,"node_id":"MDQ6VXNlcjE1MjI2MDQx","avatar_url":"https://avatars3.githubusercontent.com/u/15226041?v=4","gravatar_id":"","url":"https://api.github.com/users/ankita240796","html_url":"https://github.com/ankita240796","followers_url":"https://api.github.com/users/ankita240796/followers","following_url":"https://api.github.com/users/ankita240796/following{/other_user}","gists_url":"https://api.github.com/users/ankita240796/gists{/gist_id}","starred_url":"https://api.github.com/users/ankita240796/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ankita240796/subscriptions","organizations_url":"https://api.github.com/users/ankita240796/orgs","repos_url":"https://api.github.com/users/ankita240796/repos","events_url":"https://api.github.com/users/ankita240796/events{/privacy}","received_events_url":"https://api.github.com/users/ankita240796/received_events","type":"User","site_admin":false},"repo":{"id":160626761,"node_id":"MDEwOlJlcG9zaXRvcnkxNjA2MjY3NjE=","name":"oppia","full_name":"ankita240796/oppia","private":false,"owner":{"login":"ankita240796","id":15226041,"node_id":"MDQ6VXNlcjE1MjI2MDQx","avatar_url":"https://avatars3.githubusercontent.com/u/15226041?v=4","gravatar_id":"","url":"https://api.github.com/users/ankita240796","html_url":"https://github.com/ankita240796","followers_url":"https://api.github.com/users/ankita240796/followers","following_url":"https://api.github.com/users/ankita240796/following{/other_user}","gists_url":"https://api.github.com/users/ankita240796/gists{/gist_id}","starred_url":"https://api.github.com/users/ankita240796/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ankita240796/subscriptions","organizations_url":"https://api.github.com/users/ankita240796/orgs","repos_url":"https://api.github.com/users/ankita240796/repos","events_url":"https://api.github.com/users/ankita240796/events{/privacy}","received_events_url":"https://api.github.com/users/ankita240796/received_events","type":"User","site_admin":false},"html_url":"https://github.com/ankita240796/oppia","description":"Tool for collaboratively building interactive lessons.","fork":true,"url":"https://api.github.com/repos/ankita240796/oppia","forks_url":"https://api.github.com/repos/ankita240796/oppia/forks","keys_url":"https://api.github.com/repos/ankita240796/oppia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ankita240796/oppia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ankita240796/oppia/teams","hooks_url":"https://api.github.com/repos/ankita240796/oppia/hooks","issue_events_url":"https://api.github.com/repos/ankita240796/oppia/issues/events{/number}","events_url":"https://api.github.com/repos/ankita240796/oppia/events","assignees_url":"https://api.github.com/repos/ankita240796/oppia/assignees{/user}","branches_url":"https://api.github.com/repos/ankita240796/oppia/branches{/branch}","tags_url":"https://api.github.com/repos/ankita240796/oppia/tags","blobs_url":"https://api.github.com/repos/ankita240796/oppia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ankita240796/oppia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ankita240796/oppia/git/refs{/sha}","trees_url":"https://api.github.com/repos/ankita240796/oppia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ankita240796/oppia/statuses/{sha}","languages_url":"https://api.github.com/repos/ankita240796/oppia/languages","stargazers_url":"https://api.github.com/repos/ankita240796/oppia/stargazers","contributors_url":"https://api.github.com/repos/ankita240796/oppia/contributors","subscribers_url":"https://api.github.com/repos/ankita240796/oppia/subscribers","subscription_url":"https://api.github.com/repos/ankita240796/oppia/subscription","commits_url":"https://api.github.com/repos/ankita240796/oppia/commits{/sha}","git_commits_url":"https://api.github.com/repos/ankita240796/oppia/git/commits{/sha}","comments_url":"https://api.github.com/repos/ankita240796/oppia/comments{/number}","issue_comment_url":"https://api.github.com/repos/ankita240796/oppia/issues/comments{/number}","contents_url":"https://api.github.com/repos/ankita240796/oppia/contents/{+path}","compare_url":"https://api.github.com/repos/ankita240796/oppia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ankita240796/oppia/merges","archive_url":"https://api.github.com/repos/ankita240796/oppia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ankita240796/oppia/downloads","issues_url":"https://api.github.com/repos/ankita240796/oppia/issues{/number}","pulls_url":"https://api.github.com/repos/ankita240796/oppia/pulls{/number}","milestones_url":"https://api.github.com/repos/ankita240796/oppia/milestones{/number}","notifications_url":"https://api.github.com/repos/ankita240796/oppia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ankita240796/oppia/labels{/name}","releases_url":"https://api.github.com/repos/ankita240796/oppia/releases{/id}","deployments_url":"https://api.github.com/repos/ankita240796/oppia/deployments","created_at":"2018-12-06T06:02:18Z","updated_at":"2018-12-20T10:48:05Z","pushed_at":"2018-12-21T06:21:00Z","git_url":"git://github.com/ankita240796/oppia.git","ssh_url":"git@github.com:ankita240796/oppia.git","clone_url":"https://github.com/ankita240796/oppia.git","svn_url":"https://github.com/ankita240796/oppia","homepage":"https://www.oppia.org","size":109041,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":false,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"oppia:develop","ref":"develop","sha":"d101331759cbcc1b0fe67508c968b24ab3980fd0","user":{"login":"oppia","id":11620230,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExNjIwMjMw","avatar_url":"https://avatars1.githubusercontent.com/u/11620230?v=4","gravatar_id":"","url":"https://api.github.com/users/oppia","html_url":"https://github.com/oppia","followers_url":"https://api.github.com/users/oppia/followers","following_url":"https://api.github.com/users/oppia/following{/other_user}","gists_url":"https://api.github.com/users/oppia/gists{/gist_id}","starred_url":"https://api.github.com/users/oppia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oppia/subscriptions","organizations_url":"https://api.github.com/users/oppia/orgs","repos_url":"https://api.github.com/users/oppia/repos","events_url":"https://api.github.com/users/oppia/events{/privacy}","received_events_url":"https://api.github.com/users/oppia/received_events","type":"Organization","site_admin":false},"repo":{"id":40687563,"node_id":"MDEwOlJlcG9zaXRvcnk0MDY4NzU2Mw==","name":"oppia","full_name":"oppia/oppia","private":false,"owner":{"login":"oppia","id":11620230,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExNjIwMjMw","avatar_url":"https://avatars1.githubusercontent.com/u/11620230?v=4","gravatar_id":"","url":"https://api.github.com/users/oppia","html_url":"https://github.com/oppia","followers_url":"https://api.github.com/users/oppia/followers","following_url":"https://api.github.com/users/oppia/following{/other_user}","gists_url":"https://api.github.com/users/oppia/gists{/gist_id}","starred_url":"https://api.github.com/users/oppia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oppia/subscriptions","organizations_url":"https://api.github.com/users/oppia/orgs","repos_url":"https://api.github.com/users/oppia/repos","events_url":"https://api.github.com/users/oppia/events{/privacy}","received_events_url":"https://api.github.com/users/oppia/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/oppia/oppia","description":"Tool for collaboratively building interactive lessons.","fork":false,"url":"https://api.github.com/repos/oppia/oppia","forks_url":"https://api.github.com/repos/oppia/oppia/forks","keys_url":"https://api.github.com/repos/oppia/oppia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/oppia/oppia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/oppia/oppia/teams","hooks_url":"https://api.github.com/repos/oppia/oppia/hooks","issue_events_url":"https://api.github.com/repos/oppia/oppia/issues/events{/number}","events_url":"https://api.github.com/repos/oppia/oppia/events","assignees_url":"https://api.github.com/repos/oppia/oppia/assignees{/user}","branches_url":"https://api.github.com/repos/oppia/oppia/branches{/branch}","tags_url":"https://api.github.com/repos/oppia/oppia/tags","blobs_url":"https://api.github.com/repos/oppia/oppia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/oppia/oppia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/oppia/oppia/git/refs{/sha}","trees_url":"https://api.github.com/repos/oppia/oppia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/oppia/oppia/statuses/{sha}","languages_url":"https://api.github.com/repos/oppia/oppia/languages","stargazers_url":"https://api.github.com/repos/oppia/oppia/stargazers","contributors_url":"https://api.github.com/repos/oppia/oppia/contributors","subscribers_url":"https://api.github.com/repos/oppia/oppia/subscribers","subscription_url":"https://api.github.com/repos/oppia/oppia/subscription","commits_url":"https://api.github.com/repos/oppia/oppia/commits{/sha}","git_commits_url":"https://api.github.com/repos/oppia/oppia/git/commits{/sha}","comments_url":"https://api.github.com/repos/oppia/oppia/comments{/number}","issue_comment_url":"https://api.github.com/repos/oppia/oppia/issues/comments{/number}","contents_url":"https://api.github.com/repos/oppia/oppia/contents/{+path}","compare_url":"https://api.github.com/repos/oppia/oppia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/oppia/oppia/merges","archive_url":"https://api.github.com/repos/oppia/oppia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/oppia/oppia/downloads","issues_url":"https://api.github.com/repos/oppia/oppia/issues{/number}","pulls_url":"https://api.github.com/repos/oppia/oppia/pulls{/number}","milestones_url":"https://api.github.com/repos/oppia/oppia/milestones{/number}","notifications_url":"https://api.github.com/repos/oppia/oppia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/oppia/oppia/labels{/name}","releases_url":"https://api.github.com/repos/oppia/oppia/releases{/id}","deployments_url":"https://api.github.com/repos/oppia/oppia/deployments","created_at":"2015-08-14T00:16:14Z","updated_at":"2018-12-21T16:26:32Z","pushed_at":"2018-12-21T16:26:26Z","git_url":"git://github.com/oppia/oppia.git","ssh_url":"git@github.com:oppia/oppia.git","clone_url":"https://github.com/oppia/oppia.git","svn_url":"https://github.com/oppia/oppia","homepage":"https://www.oppia.org","size":108918,"stargazers_count":841,"watchers_count":841,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":false,"has_wiki":true,"has_pages":false,"forks_count":840,"mirror_url":null,"archived":false,"open_issues_count":419,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":840,"open_issues":419,"watchers":841,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/oppia/oppia/pulls/6015"},"html":{"href":"https://github.com/oppia/oppia/pull/6015"},"issue":{"href":"https://api.github.com/repos/oppia/oppia/issues/6015"},"comments":{"href":"https://api.github.com/repos/oppia/oppia/issues/6015/comments"},"review_comments":{"href":"https://api.github.com/repos/oppia/oppia/pulls/6015/comments"},"review_comment":{"href":"https://api.github.com/repos/oppia/oppia/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/oppia/oppia/pulls/6015/commits"},"statuses":{"href":"https://api.github.com/repos/oppia/oppia/statuses/4c69af642f3c5375337d145d2de921165e997b68"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"brianrodri"}}