{"action":"created","comment":{"url":"https://api.github.com/repos/edx/programs/pulls/comments/43948172","id":43948172,"diff_hunk":"@@ -212,15 +215,26 @@ def test_view_with_nested(self):\n         \"\"\"\n         Ensure that nested serializers are working in program detail views.\n         \"\"\"\n-        org = OrganizationFactory.create(key=\"test-org-key\", display_name=\"test-org-display_name\")\n+        course_key = \"test-org-key\"\n+        run_key = \"test-run-key\"\n+        start_date = datetime.datetime.now(tz=pytz.UTC)\n+        course_display_name = \"test-org-display_name\"","path":"programs/apps/api/v1/tests/test_views.py","position":33,"original_position":33,"commit_id":"82205e277e711c1605854e132a2fcddc2f8eff40","original_commit_id":"82205e277e711c1605854e132a2fcddc2f8eff40","user":{"login":"jimabramson","id":1349368,"avatar_url":"https://avatars.githubusercontent.com/u/1349368?v=3","gravatar_id":"","url":"https://api.github.com/users/jimabramson","html_url":"https://github.com/jimabramson","followers_url":"https://api.github.com/users/jimabramson/followers","following_url":"https://api.github.com/users/jimabramson/following{/other_user}","gists_url":"https://api.github.com/users/jimabramson/gists{/gist_id}","starred_url":"https://api.github.com/users/jimabramson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimabramson/subscriptions","organizations_url":"https://api.github.com/users/jimabramson/orgs","repos_url":"https://api.github.com/users/jimabramson/repos","events_url":"https://api.github.com/users/jimabramson/events{/privacy}","received_events_url":"https://api.github.com/users/jimabramson/received_events","type":"User","site_admin":false},"body":"org display name and course_code display names are different; let's give them separate values ","created_at":"2015-11-04T22:16:11Z","updated_at":"2015-11-04T22:16:11Z","html_url":"https://github.com/edx/programs/pull/29#discussion_r43948172","pull_request_url":"https://api.github.com/repos/edx/programs/pulls/29","_links":{"self":{"href":"https://api.github.com/repos/edx/programs/pulls/comments/43948172"},"html":{"href":"https://github.com/edx/programs/pull/29#discussion_r43948172"},"pull_request":{"href":"https://api.github.com/repos/edx/programs/pulls/29"}}},"pull_request":{"url":"https://api.github.com/repos/edx/programs/pulls/29","id":49674548,"html_url":"https://github.com/edx/programs/pull/29","diff_url":"https://github.com/edx/programs/pull/29.diff","patch_url":"https://github.com/edx/programs/pull/29.patch","issue_url":"https://api.github.com/repos/edx/programs/issues/29","number":29,"state":"open","locked":false,"title":"Adding the new fields in model , update the test cases accordingly.","user":{"login":"awais786","id":445320,"avatar_url":"https://avatars.githubusercontent.com/u/445320?v=3","gravatar_id":"","url":"https://api.github.com/users/awais786","html_url":"https://github.com/awais786","followers_url":"https://api.github.com/users/awais786/followers","following_url":"https://api.github.com/users/awais786/following{/other_user}","gists_url":"https://api.github.com/users/awais786/gists{/gist_id}","starred_url":"https://api.github.com/users/awais786/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awais786/subscriptions","organizations_url":"https://api.github.com/users/awais786/orgs","repos_url":"https://api.github.com/users/awais786/repos","events_url":"https://api.github.com/users/awais786/events{/privacy}","received_events_url":"https://api.github.com/users/awais786/received_events","type":"User","site_admin":false},"body":"[ECOM-2637](https://openedx.atlassian.net/browse/ECOM-2637)\r\n\r\n* Added two new fields in ProgramCourseRunMode model\r\n   * start_date \r\n   * run_key\r\n\r\n* New Json look like\r\n```javascript\r\n\"run_modes\": [\r\n    {\r\n        \"course_key\": \"edX/DemoX/Demo_Course\",\r\n        \"mode_slug\": \"edxslug\",\r\n        \"sku\": \"111\",\r\n        \"start_date\": \"2015-11-04T08:46:47Z\",\r\n        \"run_key\": \"abc\"\r\n    }\r\n]\r\n```\r\n* Update the ProgramCourseRunModeFactory \r\n* Update the test case to reflect the new json changes.\r\n","created_at":"2015-11-04T11:01:21Z","updated_at":"2015-11-04T22:16:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6cca001649b21c26f993c0c9d789b23b4a0b24e5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/edx/programs/pulls/29/commits","review_comments_url":"https://api.github.com/repos/edx/programs/pulls/29/comments","review_comment_url":"https://api.github.com/repos/edx/programs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/edx/programs/issues/29/comments","statuses_url":"https://api.github.com/repos/edx/programs/statuses/82205e277e711c1605854e132a2fcddc2f8eff40","head":{"label":"edx:awais786/ECOM-2637-new-fields-in-ProgramCourseRunMode","ref":"awais786/ECOM-2637-new-fields-in-ProgramCourseRunMode","sha":"82205e277e711c1605854e132a2fcddc2f8eff40","user":{"login":"edx","id":3179841,"avatar_url":"https://avatars.githubusercontent.com/u/3179841?v=3","gravatar_id":"","url":"https://api.github.com/users/edx","html_url":"https://github.com/edx","followers_url":"https://api.github.com/users/edx/followers","following_url":"https://api.github.com/users/edx/following{/other_user}","gists_url":"https://api.github.com/users/edx/gists{/gist_id}","starred_url":"https://api.github.com/users/edx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx/subscriptions","organizations_url":"https://api.github.com/users/edx/orgs","repos_url":"https://api.github.com/users/edx/repos","events_url":"https://api.github.com/users/edx/events{/privacy}","received_events_url":"https://api.github.com/users/edx/received_events","type":"Organization","site_admin":false},"repo":{"id":42223848,"name":"programs","full_name":"edx/programs","owner":{"login":"edx","id":3179841,"avatar_url":"https://avatars.githubusercontent.com/u/3179841?v=3","gravatar_id":"","url":"https://api.github.com/users/edx","html_url":"https://github.com/edx","followers_url":"https://api.github.com/users/edx/followers","following_url":"https://api.github.com/users/edx/following{/other_user}","gists_url":"https://api.github.com/users/edx/gists{/gist_id}","starred_url":"https://api.github.com/users/edx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx/subscriptions","organizations_url":"https://api.github.com/users/edx/orgs","repos_url":"https://api.github.com/users/edx/repos","events_url":"https://api.github.com/users/edx/events{/privacy}","received_events_url":"https://api.github.com/users/edx/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/edx/programs","description":"Django application used as the backend to support Programs-based product lines such as edX's XSeries offering.","fork":false,"url":"https://api.github.com/repos/edx/programs","forks_url":"https://api.github.com/repos/edx/programs/forks","keys_url":"https://api.github.com/repos/edx/programs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edx/programs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edx/programs/teams","hooks_url":"https://api.github.com/repos/edx/programs/hooks","issue_events_url":"https://api.github.com/repos/edx/programs/issues/events{/number}","events_url":"https://api.github.com/repos/edx/programs/events","assignees_url":"https://api.github.com/repos/edx/programs/assignees{/user}","branches_url":"https://api.github.com/repos/edx/programs/branches{/branch}","tags_url":"https://api.github.com/repos/edx/programs/tags","blobs_url":"https://api.github.com/repos/edx/programs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edx/programs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edx/programs/git/refs{/sha}","trees_url":"https://api.github.com/repos/edx/programs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edx/programs/statuses/{sha}","languages_url":"https://api.github.com/repos/edx/programs/languages","stargazers_url":"https://api.github.com/repos/edx/programs/stargazers","contributors_url":"https://api.github.com/repos/edx/programs/contributors","subscribers_url":"https://api.github.com/repos/edx/programs/subscribers","subscription_url":"https://api.github.com/repos/edx/programs/subscription","commits_url":"https://api.github.com/repos/edx/programs/commits{/sha}","git_commits_url":"https://api.github.com/repos/edx/programs/git/commits{/sha}","comments_url":"https://api.github.com/repos/edx/programs/comments{/number}","issue_comment_url":"https://api.github.com/repos/edx/programs/issues/comments{/number}","contents_url":"https://api.github.com/repos/edx/programs/contents/{+path}","compare_url":"https://api.github.com/repos/edx/programs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edx/programs/merges","archive_url":"https://api.github.com/repos/edx/programs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edx/programs/downloads","issues_url":"https://api.github.com/repos/edx/programs/issues{/number}","pulls_url":"https://api.github.com/repos/edx/programs/pulls{/number}","milestones_url":"https://api.github.com/repos/edx/programs/milestones{/number}","notifications_url":"https://api.github.com/repos/edx/programs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edx/programs/labels{/name}","releases_url":"https://api.github.com/repos/edx/programs/releases{/id}","created_at":"2015-09-10T05:22:07Z","updated_at":"2015-11-02T21:19:30Z","pushed_at":"2015-11-04T21:48:57Z","git_url":"git://github.com/edx/programs.git","ssh_url":"git@github.com:edx/programs.git","clone_url":"https://github.com/edx/programs.git","svn_url":"https://github.com/edx/programs","homepage":"http://open-edx-programs-guide.readthedocs.org/en/latest/","size":916,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"edx:master","ref":"master","sha":"ce9702c826a4e3ce77360e4f1bca78fb95cae771","user":{"login":"edx","id":3179841,"avatar_url":"https://avatars.githubusercontent.com/u/3179841?v=3","gravatar_id":"","url":"https://api.github.com/users/edx","html_url":"https://github.com/edx","followers_url":"https://api.github.com/users/edx/followers","following_url":"https://api.github.com/users/edx/following{/other_user}","gists_url":"https://api.github.com/users/edx/gists{/gist_id}","starred_url":"https://api.github.com/users/edx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx/subscriptions","organizations_url":"https://api.github.com/users/edx/orgs","repos_url":"https://api.github.com/users/edx/repos","events_url":"https://api.github.com/users/edx/events{/privacy}","received_events_url":"https://api.github.com/users/edx/received_events","type":"Organization","site_admin":false},"repo":{"id":42223848,"name":"programs","full_name":"edx/programs","owner":{"login":"edx","id":3179841,"avatar_url":"https://avatars.githubusercontent.com/u/3179841?v=3","gravatar_id":"","url":"https://api.github.com/users/edx","html_url":"https://github.com/edx","followers_url":"https://api.github.com/users/edx/followers","following_url":"https://api.github.com/users/edx/following{/other_user}","gists_url":"https://api.github.com/users/edx/gists{/gist_id}","starred_url":"https://api.github.com/users/edx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx/subscriptions","organizations_url":"https://api.github.com/users/edx/orgs","repos_url":"https://api.github.com/users/edx/repos","events_url":"https://api.github.com/users/edx/events{/privacy}","received_events_url":"https://api.github.com/users/edx/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/edx/programs","description":"Django application used as the backend to support Programs-based product lines such as edX's XSeries offering.","fork":false,"url":"https://api.github.com/repos/edx/programs","forks_url":"https://api.github.com/repos/edx/programs/forks","keys_url":"https://api.github.com/repos/edx/programs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edx/programs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edx/programs/teams","hooks_url":"https://api.github.com/repos/edx/programs/hooks","issue_events_url":"https://api.github.com/repos/edx/programs/issues/events{/number}","events_url":"https://api.github.com/repos/edx/programs/events","assignees_url":"https://api.github.com/repos/edx/programs/assignees{/user}","branches_url":"https://api.github.com/repos/edx/programs/branches{/branch}","tags_url":"https://api.github.com/repos/edx/programs/tags","blobs_url":"https://api.github.com/repos/edx/programs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edx/programs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edx/programs/git/refs{/sha}","trees_url":"https://api.github.com/repos/edx/programs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edx/programs/statuses/{sha}","languages_url":"https://api.github.com/repos/edx/programs/languages","stargazers_url":"https://api.github.com/repos/edx/programs/stargazers","contributors_url":"https://api.github.com/repos/edx/programs/contributors","subscribers_url":"https://api.github.com/repos/edx/programs/subscribers","subscription_url":"https://api.github.com/repos/edx/programs/subscription","commits_url":"https://api.github.com/repos/edx/programs/commits{/sha}","git_commits_url":"https://api.github.com/repos/edx/programs/git/commits{/sha}","comments_url":"https://api.github.com/repos/edx/programs/comments{/number}","issue_comment_url":"https://api.github.com/repos/edx/programs/issues/comments{/number}","contents_url":"https://api.github.com/repos/edx/programs/contents/{+path}","compare_url":"https://api.github.com/repos/edx/programs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edx/programs/merges","archive_url":"https://api.github.com/repos/edx/programs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edx/programs/downloads","issues_url":"https://api.github.com/repos/edx/programs/issues{/number}","pulls_url":"https://api.github.com/repos/edx/programs/pulls{/number}","milestones_url":"https://api.github.com/repos/edx/programs/milestones{/number}","notifications_url":"https://api.github.com/repos/edx/programs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edx/programs/labels{/name}","releases_url":"https://api.github.com/repos/edx/programs/releases{/id}","created_at":"2015-09-10T05:22:07Z","updated_at":"2015-11-02T21:19:30Z","pushed_at":"2015-11-04T21:48:57Z","git_url":"git://github.com/edx/programs.git","ssh_url":"git@github.com:edx/programs.git","clone_url":"https://github.com/edx/programs.git","svn_url":"https://github.com/edx/programs","homepage":"http://open-edx-programs-guide.readthedocs.org/en/latest/","size":916,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/edx/programs/pulls/29"},"html":{"href":"https://github.com/edx/programs/pull/29"},"issue":{"href":"https://api.github.com/repos/edx/programs/issues/29"},"comments":{"href":"https://api.github.com/repos/edx/programs/issues/29/comments"},"review_comments":{"href":"https://api.github.com/repos/edx/programs/pulls/29/comments"},"review_comment":{"href":"https://api.github.com/repos/edx/programs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/edx/programs/pulls/29/commits"},"statuses":{"href":"https://api.github.com/repos/edx/programs/statuses/82205e277e711c1605854e132a2fcddc2f8eff40"}}}}