{"action":"created","comment":{"url":"https://api.github.com/repos/oppia/oppia/pulls/comments/244370057","pull_request_review_id":188330208,"id":244370057,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0NDM3MDA1Nw==","diff_hunk":"@@ -1451,3 +2452,42 @@ def test_for_customization_arg_validation_job(self):\n         )]\n \n         self.assertEqual(actual_output, expected_output)\n+\n+    def test_no_action_is_performed_for_deleted_exploration(self):\n+        \"\"\"Test that no action is performed on deleted explorations.\"\"\"\n+\n+        exploration = exp_domain.Exploration.create_default_exploration(\n+            self.VALID_EXP_ID, title='title', category='category')\n+\n+        exploration.add_states(['State1'])\n+\n+        content_dict = {\n+            'html': (\n+                '<p><oppia-noninteractive-link text-with-value=\"'\n+                '&amp;quot;What is a link?&amp;quot;\" url-with-'\n+                'value=\"&amp;quot;htt://link.com&amp'\n+                ';quot;\"></oppia-noninteractive-link></p>'\n+            ),\n+            'content_id': 'content'\n+        }\n+\n+        state1 = exploration.states['State1']\n+\n+        state1.update_content(content_dict)\n+\n+        exp_services.save_new_exploration(self.albert_id, exploration)\n+\n+        exp_services.delete_exploration(self.albert_id, self.VALID_EXP_ID)\n+\n+        # Start InteractionCustomizationArgsValidationJob.\n+        job_id = (\n+            exp_jobs_one_off.InteractionCustomizationArgsValidationJob.create_new()) # pylint: disable=line-too-long","path":"core/domain/exp_jobs_one_off_test.py","position":1599,"original_position":1599,"commit_id":"b010523694b4981f6838adb3a4e972e605fe2d59","original_commit_id":"b010523694b4981f6838adb3a4e972e605fe2d59","user":{"login":"nithusha21","id":11898234,"node_id":"MDQ6VXNlcjExODk4MjM0","avatar_url":"https://avatars2.githubusercontent.com/u/11898234?v=4","gravatar_id":"","url":"https://api.github.com/users/nithusha21","html_url":"https://github.com/nithusha21","followers_url":"https://api.github.com/users/nithusha21/followers","following_url":"https://api.github.com/users/nithusha21/following{/other_user}","gists_url":"https://api.github.com/users/nithusha21/gists{/gist_id}","starred_url":"https://api.github.com/users/nithusha21/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nithusha21/subscriptions","organizations_url":"https://api.github.com/users/nithusha21/orgs","repos_url":"https://api.github.com/users/nithusha21/repos","events_url":"https://api.github.com/users/nithusha21/events{/privacy}","received_events_url":"https://api.github.com/users/nithusha21/received_events","type":"User","site_admin":false},"body":"Ditto","created_at":"2018-12-28T17:33:26Z","updated_at":"2018-12-28T17:37:18Z","html_url":"https://github.com/oppia/oppia/pull/5972#discussion_r244370057","pull_request_url":"https://api.github.com/repos/oppia/oppia/pulls/5972","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/oppia/oppia/pulls/comments/244370057"},"html":{"href":"https://github.com/oppia/oppia/pull/5972#discussion_r244370057"},"pull_request":{"href":"https://api.github.com/repos/oppia/oppia/pulls/5972"}}},"pull_request":{"url":"https://api.github.com/repos/oppia/oppia/pulls/5972","id":237945110,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM3OTQ1MTEw","html_url":"https://github.com/oppia/oppia/pull/5972","diff_url":"https://github.com/oppia/oppia/pull/5972.diff","patch_url":"https://github.com/oppia/oppia/pull/5972.patch","issue_url":"https://api.github.com/repos/oppia/oppia/issues/5972","number":5972,"state":"open","locked":false,"title":"Fix part of #5134: Added test for exp one off jobs","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 part of #5134: Added test for `exp_jobs_one_off.py`\r\n\r\nHere is a screenshot of coverage report:\r\n\r\n![image](https://user-images.githubusercontent.com/15226041/49855041-04e84f00-fe12-11e8-93bd-39dba55ac9c7.png)\r\n\r\nTest for three jobs are pending due to following issues:\r\n\r\n- `ExplorationConversionErrorIdentificationJob`: The conversion error is raised during conversion from version 3 to version 4 exploration under some specified conditions. I am unable to find a way to create an exploration in version 3 and run the job on it.\r\n\r\n- `VerifyAllUrlsMatchGcsIdRegexJob`: This job cannot be run in `DEV_MODE`.\r\n\r\n- `CopyToNewDirectoryJob`: This job cannot be run in `DEV_MODE`.\r\n\r\n## Checklist\r\n- [x] The PR title starts with \"Fix #bugnum: \", followed by a short, clear summary of the changes. (If this PR fixes part of an issue, prefix the title with \"Fix part of #bugnum: ...\".)\r\n- [x] The PR explanation includes the words \"Fixes #bugnum: ...\" (or \"Fixes part of #bugnum\" if the PR only partially fixes an issue).\r\n- [x] The linter/Karma presubmit checks have passed.\r\n  - These should run automatically, but if not, you can manually trigger them locally using `python scripts/pre_commit_linter.py` and `bash scripts/run_frontend_tests.sh`.\r\n- [x] The PR is made from a branch that's **not** called \"develop\".\r\n- [x] The PR follows the [style guide](https://github.com/oppia/oppia/wiki/Coding-style-guide).\r\n- [x] The PR is assigned to an appropriate reviewer.\r\n  - If you're a new contributor, please ask on [Gitter](https://gitter.im/oppia/oppia-chat) for someone to assign a reviewer.\r\n  - If you're not sure who the appropriate reviewer is, please assign to the issue's \"owner\" -- see the \"talk-to\" label on the issue.\r\n","created_at":"2018-12-12T08:06:52Z","updated_at":"2018-12-28T17:37:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ca2aa63818cf21d223c64ec5de1d8ae084210d1d","assignee":{"login":"nithusha21","id":11898234,"node_id":"MDQ6VXNlcjExODk4MjM0","avatar_url":"https://avatars2.githubusercontent.com/u/11898234?v=4","gravatar_id":"","url":"https://api.github.com/users/nithusha21","html_url":"https://github.com/nithusha21","followers_url":"https://api.github.com/users/nithusha21/followers","following_url":"https://api.github.com/users/nithusha21/following{/other_user}","gists_url":"https://api.github.com/users/nithusha21/gists{/gist_id}","starred_url":"https://api.github.com/users/nithusha21/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nithusha21/subscriptions","organizations_url":"https://api.github.com/users/nithusha21/orgs","repos_url":"https://api.github.com/users/nithusha21/repos","events_url":"https://api.github.com/users/nithusha21/events{/privacy}","received_events_url":"https://api.github.com/users/nithusha21/received_events","type":"User","site_admin":false},"assignees":[{"login":"nithusha21","id":11898234,"node_id":"MDQ6VXNlcjExODk4MjM0","avatar_url":"https://avatars2.githubusercontent.com/u/11898234?v=4","gravatar_id":"","url":"https://api.github.com/users/nithusha21","html_url":"https://github.com/nithusha21","followers_url":"https://api.github.com/users/nithusha21/followers","following_url":"https://api.github.com/users/nithusha21/following{/other_user}","gists_url":"https://api.github.com/users/nithusha21/gists{/gist_id}","starred_url":"https://api.github.com/users/nithusha21/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nithusha21/subscriptions","organizations_url":"https://api.github.com/users/nithusha21/orgs","repos_url":"https://api.github.com/users/nithusha21/repos","events_url":"https://api.github.com/users/nithusha21/events{/privacy}","received_events_url":"https://api.github.com/users/nithusha21/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/oppia/oppia/pulls/5972/commits","review_comments_url":"https://api.github.com/repos/oppia/oppia/pulls/5972/comments","review_comment_url":"https://api.github.com/repos/oppia/oppia/pulls/comments{/number}","comments_url":"https://api.github.com/repos/oppia/oppia/issues/5972/comments","statuses_url":"https://api.github.com/repos/oppia/oppia/statuses/b010523694b4981f6838adb3a4e972e605fe2d59","head":{"label":"ankita240796:exp-job-test","ref":"exp-job-test","sha":"b010523694b4981f6838adb3a4e972e605fe2d59","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-25T19:18:02Z","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":109066,"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":"c9adae19a409f2528326aa385c1d554748fb5e93","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-28T17:17:54Z","pushed_at":"2018-12-28T17:17:46Z","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":109049,"stargazers_count":854,"watchers_count":854,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":false,"has_wiki":true,"has_pages":false,"forks_count":851,"mirror_url":null,"archived":false,"open_issues_count":411,"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":851,"open_issues":411,"watchers":854,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/oppia/oppia/pulls/5972"},"html":{"href":"https://github.com/oppia/oppia/pull/5972"},"issue":{"href":"https://api.github.com/repos/oppia/oppia/issues/5972"},"comments":{"href":"https://api.github.com/repos/oppia/oppia/issues/5972/comments"},"review_comments":{"href":"https://api.github.com/repos/oppia/oppia/pulls/5972/comments"},"review_comment":{"href":"https://api.github.com/repos/oppia/oppia/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/oppia/oppia/pulls/5972/commits"},"statuses":{"href":"https://api.github.com/repos/oppia/oppia/statuses/b010523694b4981f6838adb3a4e972e605fe2d59"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"nithusha21"}}