{"action":"created","comment":{"url":"https://api.github.com/repos/cjlee112/socraticqs2/pulls/comments/30876252","id":30876252,"diff_hunk":"@@ -0,0 +1,256 @@\n+# coding=utf-8\n+\n+import json\n+import oauth2\n+from mock import patch\n+from django.test import TestCase, Client\n+from django.contrib.auth.models import User\n+\n+from lti.models import LTIUser\n+from ct.models import Course, Role\n+from psa.models import UserSocialAuth\n+\n+\n+class LTITestCase(TestCase):\n+    def setUp(self):\n+        \"\"\"Preconditions.\"\"\"\n+        self.client = Client()\n+\n+        self.user = User(username='test_user',\n+                         email='test@test.com')\n+        self.user.save()\n+\n+        mocked_nonce = u'135685044251684026041377608307'\n+        mocked_timestamp = u'1234567890'\n+        mocked_decoded_signature = u'my_signature='\n+        self.headers = {\n+            u'user_id': 1,\n+            u'lis_person_name_full': u'Test Username',\n+            u'lis_person_name_given': u'First',\n+            u'lis_person_name_family': u'Second',\n+            u'lis_person_contact_email_primary': u'test@test.com',\n+            u'oauth_callback': u'about:blank',\n+            u'launch_presentation_return_url': '',\n+            u'lti_message_type': u'basic-lti-launch-request',\n+            u'lti_version': 'LTI-1p0',\n+            u'roles': u'Student',\n+            u'context_id': 1,\n+            u'ext_lms': u'moodle-2',\n+\n+            u'resource_link_id': 'dfgsfhrybvrth',\n+            u'lis_result_sourcedid': 'wesgaegagrreg',\n+\n+            u'oauth_nonce': mocked_nonce,\n+            u'oauth_timestamp': mocked_timestamp,\n+            u'oauth_consumer_key': u'',\n+            u'oauth_signature_method': u'HMAC-SHA1',\n+            u'oauth_version': u'1.0',\n+            u'oauth_signature': mocked_decoded_signature\n+        }\n+\n+        self.course = Course(title='test title',\n+                             description='test description',\n+                             access='Public',\n+                             addedBy=self.user)\n+        self.course.save()\n+\n+\n+class MethodsTest(LTITestCase):\n+    \"\"\"Test for correct request method passed in view.\"\"\"\n+\n+    def test_post(self):\n+        with patch('lti.views.DjangoToolProvider') as mocked:\n+            mocked.return_value.is_valid_request.return_value = True\n+            response = self.client.post('/lti/ct/courses/1/',\n+                                        data=self.headers,\n+                                        follow=True)\n+            self.assertTemplateUsed(response, template_name='ct/course.html')\n+\n+    def test_failure_post(self):\n+        with patch('lti.views.DjangoToolProvider') as mocked:\n+            mocked.return_value.is_valid_request.return_value = False\n+            response = self.client.post('/lti/ct/courses/1/',\n+                                        data=self.headers,\n+                                        follow=True)\n+            self.assertTemplateUsed(response, template_name='lti/error.html')\n+\n+    def test_get(self):\n+        with patch('lti.views.DjangoToolProvider') as mocked:\n+            mocked.return_value.is_valid_request.return_value = True\n+            response = self.client.get('/lti/ct/courses/1/',\n+                                       follow=True)\n+            self.assertTemplateUsed(response, template_name='lti/error.html')\n+\n+\n+class ParamsTest(LTITestCase):\n+    \"\"\"Test different params handling.\"\"\"\n+\n+    def test_ext_lms(self):\n+        del self.headers[u'ext_lms']\n+        with patch('lti.views.DjangoToolProvider') as mocked:\n+            mocked.return_value.is_valid_request.return_value = True\n+            self.client.post('/lti/ct/courses/1/',\n+                             data=self.headers,\n+                             follow=True)\n+            self.assertTrue(LTIUser.objects.filter(consumer='lti').exists())\n+\n+    def test_roles_prof(self):\n+        self.headers.update({u'roles': u'Instructor'})\n+        with patch('lti.views.DjangoToolProvider') as mocked:\n+            mocked.return_value.is_valid_request.return_value = True\n+            self.client.post('/lti/ct/courses/1/',\n+                             data=self.headers,\n+                             follow=True)\n+            self.assertTrue(Role.objects.filter(role='prof').exists())\n+\n+    def test_roles_student(self):\n+        self.headers.update({u'roles': u'Leaner'})\n+        with patch('lti.views.DjangoToolProvider') as mocked:\n+            mocked.return_value.is_valid_request.return_value = True\n+            self.client.post('/lti/ct/courses/1/',\n+                             data=self.headers,\n+                             follow=True)\n+            self.assertTrue(Role.objects.filter(role='student').exists())\n+\n+    def test_user_id(self):\n+        del self.headers[u'user_id']\n+        with patch('lti.views.DjangoToolProvider') as mocked:\n+            mocked.return_value.is_valid_request.return_value = True\n+            response = self.client.post('/lti/ct/courses/1/',\n+                                        data=self.headers,\n+                                        follow=True)\n+            self.assertTemplateUsed(response, template_name='lti/error.html')\n+\n+    def test_roles_none(self):\n+        del self.headers[u'roles']\n+        with patch('lti.views.DjangoToolProvider') as mocked:\n+            mocked.return_value.is_valid_request.return_value = True\n+            self.client.post('/lti/ct/courses/1/',\n+                             data=self.headers,\n+                             follow=True)\n+            self.assertTrue(Role.objects.filter(role='student').exists())\n+\n+    def test_lti_user(self):\n+        \"\"\"Default LTI user creation process\"\"\"\n+        with patch('lti.views.DjangoToolProvider') as mocked:\n+            mocked.return_value.is_valid_request.return_value = True\n+            self.client.post('/lti/ct/courses/1/',\n+                             data=self.headers,\n+                             follow=True)\n+            self.assertTrue(LTIUser.objects.filter(consumer='moodle-2').exists())\n+            self.assertTrue(Role.objects.filter(role='student').exists())\n+            self.assertEqual(LTIUser.objects.get(consumer='moodle-2').django_user,\n+                             UserSocialAuth.objects.get(\n+                                 uid=self.headers[u'lis_person_contact_email_primary']\n+                             ).user)\n+            self.assertEqual(self.user, UserSocialAuth.objects.get(\n+                uid=self.headers[u'lis_person_contact_email_primary']\n+            ).user)\n+\n+    def test_lti_user_no_email(self):\n+        del self.headers[u'lis_person_contact_email_primary']\n+        with patch('lti.views.DjangoToolProvider') as mocked:\n+            mocked.return_value.is_valid_request.return_value = True\n+            self.client.post('/lti/ct/courses/1/',\n+                             data=self.headers,\n+                             follow=True)\n+            self.assertTrue(LTIUser.objects.filter(consumer='moodle-2').exists())\n+            self.assertTrue(Role.objects.filter(role='student').exists())\n+            self.assertNotEqual(LTIUser.objects.get(consumer='moodle-2').django_user,\n+                                User.objects.get(id=1))\n+\n+    def test_lti_user_no_username_no_email(self):\n+        \"\"\"Test for non-existent username field\n+\n+        If there is no username in POST\n+        we create user with username==user_id\n+        \"\"\"\n+        del self.headers[u'lis_person_name_full']\n+        del self.headers[u'lis_person_contact_email_primary']\n+        with patch('lti.views.DjangoToolProvider') as mocked:\n+            mocked.return_value.is_valid_request.return_value = True\n+            self.client.post('/lti/ct/courses/1/',\n+                             data=self.headers,\n+                             follow=True)\n+            self.assertTrue(LTIUser.objects.filter(consumer='moodle-2').exists())\n+            self.assertTrue(Role.objects.filter(role='student').exists())\n+            self.assertNotEqual(LTIUser.objects.get(consumer='moodle-2').django_user,\n+                                User.objects.get(id=1))\n+            self.assertEqual(LTIUser.objects.get(consumer='moodle-2').\n+                             django_user.username,\n+                             LTIUser.objects.get(consumer='moodle-2').user_id)\n+\n+    def test_lti_user_link_social(self):\n+        \"\"\"Default LTI user creation process\"\"\"\n+        social = UserSocialAuth(\n+            user=self.user,\n+            uid=self.headers[u'lis_person_contact_email_primary'],\n+            provider='email'\n+        )\n+        social.save()\n+        with patch('lti.views.DjangoToolProvider') as mocked:\n+            mocked.return_value.is_valid_request.return_value = True\n+            self.client.post('/lti/ct/courses/1/',\n+                             data=self.headers,\n+                             follow=True)\n+            self.assertTrue(LTIUser.objects.filter(consumer='moodle-2').exists())\n+            self.assertTrue(Role.objects.filter(role='student').exists())\n+            self.assertEqual(LTIUser.objects.get(consumer='moodle-2').django_user,\n+                             social.user)\n+\n+\n+class ExceptionTest(LTITestCase):\n+    \"\"\"Test raising exception.\"\"\"\n+\n+    def test_missing_signature(self):\n+        with patch('lti.views.DjangoToolProvider') as mocked:","path":"mysite/lti/tests.py","position":206,"original_position":206,"commit_id":"ceeab272994fd6806ab5e700c7895b0eda668a5f","original_commit_id":"ceeab272994fd6806ab5e700c7895b0eda668a5f","user":{"login":"auraz","id":67241,"avatar_url":"https://avatars.githubusercontent.com/u/67241?v=3","gravatar_id":"","url":"https://api.github.com/users/auraz","html_url":"https://github.com/auraz","followers_url":"https://api.github.com/users/auraz/followers","following_url":"https://api.github.com/users/auraz/following{/other_user}","gists_url":"https://api.github.com/users/auraz/gists{/gist_id}","starred_url":"https://api.github.com/users/auraz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/auraz/subscriptions","organizations_url":"https://api.github.com/users/auraz/orgs","repos_url":"https://api.github.com/users/auraz/repos","events_url":"https://api.github.com/users/auraz/events{/privacy}","received_events_url":"https://api.github.com/users/auraz/received_events","type":"User","site_admin":false},"body":"Same here: ddt and mock at class level","created_at":"2015-05-22T08:06:27Z","updated_at":"2015-05-22T08:06:27Z","html_url":"https://github.com/cjlee112/socraticqs2/pull/37#discussion_r30876252","pull_request_url":"https://api.github.com/repos/cjlee112/socraticqs2/pulls/37","_links":{"self":{"href":"https://api.github.com/repos/cjlee112/socraticqs2/pulls/comments/30876252"},"html":{"href":"https://github.com/cjlee112/socraticqs2/pull/37#discussion_r30876252"},"pull_request":{"href":"https://api.github.com/repos/cjlee112/socraticqs2/pulls/37"}}},"pull_request":{"url":"https://api.github.com/repos/cjlee112/socraticqs2/pulls/37","id":35315626,"html_url":"https://github.com/cjlee112/socraticqs2/pull/37","diff_url":"https://github.com/cjlee112/socraticqs2/pull/37.diff","patch_url":"https://github.com/cjlee112/socraticqs2/pull/37.patch","issue_url":"https://api.github.com/repos/cjlee112/socraticqs2/issues/37","number":37,"state":"open","locked":false,"title":"LTI and PSA integration","user":{"login":"maxsocl","id":877401,"avatar_url":"https://avatars.githubusercontent.com/u/877401?v=3","gravatar_id":"","url":"https://api.github.com/users/maxsocl","html_url":"https://github.com/maxsocl","followers_url":"https://api.github.com/users/maxsocl/followers","following_url":"https://api.github.com/users/maxsocl/following{/other_user}","gists_url":"https://api.github.com/users/maxsocl/gists{/gist_id}","starred_url":"https://api.github.com/users/maxsocl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxsocl/subscriptions","organizations_url":"https://api.github.com/users/maxsocl/orgs","repos_url":"https://api.github.com/users/maxsocl/repos","events_url":"https://api.github.com/users/maxsocl/events{/privacy}","received_events_url":"https://api.github.com/users/maxsocl/received_events","type":"User","site_admin":false},"body":"This PR adds LTI support along with UX improvements and Python-social-auth integration.\r\nAll commits from last work are included in this branch.\r\n\r\nDocs describing Moodle integration: https://docs.google.com/document/d/1LSTRlqZDTxVtDQSKQq-n2XYncMWyt3hBPHyPVJyP15A/edit\r\n\r\n@cjlee112 FYI","created_at":"2015-05-13T11:04:00Z","updated_at":"2015-05-22T08:06:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e9f7eae799983309638d15a815ab422f2a782ad9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cjlee112/socraticqs2/pulls/37/commits","review_comments_url":"https://api.github.com/repos/cjlee112/socraticqs2/pulls/37/comments","review_comment_url":"https://api.github.com/repos/cjlee112/socraticqs2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cjlee112/socraticqs2/issues/37/comments","statuses_url":"https://api.github.com/repos/cjlee112/socraticqs2/statuses/ceeab272994fd6806ab5e700c7895b0eda668a5f","head":{"label":"raccoongang:develop","ref":"develop","sha":"ceeab272994fd6806ab5e700c7895b0eda668a5f","user":{"login":"raccoongang","id":11388447,"avatar_url":"https://avatars.githubusercontent.com/u/11388447?v=3","gravatar_id":"","url":"https://api.github.com/users/raccoongang","html_url":"https://github.com/raccoongang","followers_url":"https://api.github.com/users/raccoongang/followers","following_url":"https://api.github.com/users/raccoongang/following{/other_user}","gists_url":"https://api.github.com/users/raccoongang/gists{/gist_id}","starred_url":"https://api.github.com/users/raccoongang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raccoongang/subscriptions","organizations_url":"https://api.github.com/users/raccoongang/orgs","repos_url":"https://api.github.com/users/raccoongang/repos","events_url":"https://api.github.com/users/raccoongang/events{/privacy}","received_events_url":"https://api.github.com/users/raccoongang/received_events","type":"Organization","site_admin":false},"repo":{"id":32084912,"name":"socraticqs2","full_name":"raccoongang/socraticqs2","owner":{"login":"raccoongang","id":11388447,"avatar_url":"https://avatars.githubusercontent.com/u/11388447?v=3","gravatar_id":"","url":"https://api.github.com/users/raccoongang","html_url":"https://github.com/raccoongang","followers_url":"https://api.github.com/users/raccoongang/followers","following_url":"https://api.github.com/users/raccoongang/following{/other_user}","gists_url":"https://api.github.com/users/raccoongang/gists{/gist_id}","starred_url":"https://api.github.com/users/raccoongang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raccoongang/subscriptions","organizations_url":"https://api.github.com/users/raccoongang/orgs","repos_url":"https://api.github.com/users/raccoongang/repos","events_url":"https://api.github.com/users/raccoongang/events{/privacy}","received_events_url":"https://api.github.com/users/raccoongang/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/raccoongang/socraticqs2","description":"courselets.org web service implementation","fork":true,"url":"https://api.github.com/repos/raccoongang/socraticqs2","forks_url":"https://api.github.com/repos/raccoongang/socraticqs2/forks","keys_url":"https://api.github.com/repos/raccoongang/socraticqs2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/raccoongang/socraticqs2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/raccoongang/socraticqs2/teams","hooks_url":"https://api.github.com/repos/raccoongang/socraticqs2/hooks","issue_events_url":"https://api.github.com/repos/raccoongang/socraticqs2/issues/events{/number}","events_url":"https://api.github.com/repos/raccoongang/socraticqs2/events","assignees_url":"https://api.github.com/repos/raccoongang/socraticqs2/assignees{/user}","branches_url":"https://api.github.com/repos/raccoongang/socraticqs2/branches{/branch}","tags_url":"https://api.github.com/repos/raccoongang/socraticqs2/tags","blobs_url":"https://api.github.com/repos/raccoongang/socraticqs2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/raccoongang/socraticqs2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/raccoongang/socraticqs2/git/refs{/sha}","trees_url":"https://api.github.com/repos/raccoongang/socraticqs2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/raccoongang/socraticqs2/statuses/{sha}","languages_url":"https://api.github.com/repos/raccoongang/socraticqs2/languages","stargazers_url":"https://api.github.com/repos/raccoongang/socraticqs2/stargazers","contributors_url":"https://api.github.com/repos/raccoongang/socraticqs2/contributors","subscribers_url":"https://api.github.com/repos/raccoongang/socraticqs2/subscribers","subscription_url":"https://api.github.com/repos/raccoongang/socraticqs2/subscription","commits_url":"https://api.github.com/repos/raccoongang/socraticqs2/commits{/sha}","git_commits_url":"https://api.github.com/repos/raccoongang/socraticqs2/git/commits{/sha}","comments_url":"https://api.github.com/repos/raccoongang/socraticqs2/comments{/number}","issue_comment_url":"https://api.github.com/repos/raccoongang/socraticqs2/issues/comments{/number}","contents_url":"https://api.github.com/repos/raccoongang/socraticqs2/contents/{+path}","compare_url":"https://api.github.com/repos/raccoongang/socraticqs2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/raccoongang/socraticqs2/merges","archive_url":"https://api.github.com/repos/raccoongang/socraticqs2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/raccoongang/socraticqs2/downloads","issues_url":"https://api.github.com/repos/raccoongang/socraticqs2/issues{/number}","pulls_url":"https://api.github.com/repos/raccoongang/socraticqs2/pulls{/number}","milestones_url":"https://api.github.com/repos/raccoongang/socraticqs2/milestones{/number}","notifications_url":"https://api.github.com/repos/raccoongang/socraticqs2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/raccoongang/socraticqs2/labels{/name}","releases_url":"https://api.github.com/repos/raccoongang/socraticqs2/releases{/id}","created_at":"2015-03-12T15:34:25Z","updated_at":"2015-03-13T16:26:42Z","pushed_at":"2015-05-20T15:17:42Z","git_url":"git://github.com/raccoongang/socraticqs2.git","ssh_url":"git@github.com:raccoongang/socraticqs2.git","clone_url":"https://github.com/raccoongang/socraticqs2.git","svn_url":"https://github.com/raccoongang/socraticqs2","homepage":null,"size":1107,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"cjlee112:master","ref":"master","sha":"5a72d177944412ff290f2d472425b5f11249050a","user":{"login":"cjlee112","id":59820,"avatar_url":"https://avatars.githubusercontent.com/u/59820?v=3","gravatar_id":"","url":"https://api.github.com/users/cjlee112","html_url":"https://github.com/cjlee112","followers_url":"https://api.github.com/users/cjlee112/followers","following_url":"https://api.github.com/users/cjlee112/following{/other_user}","gists_url":"https://api.github.com/users/cjlee112/gists{/gist_id}","starred_url":"https://api.github.com/users/cjlee112/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cjlee112/subscriptions","organizations_url":"https://api.github.com/users/cjlee112/orgs","repos_url":"https://api.github.com/users/cjlee112/repos","events_url":"https://api.github.com/users/cjlee112/events{/privacy}","received_events_url":"https://api.github.com/users/cjlee112/received_events","type":"User","site_admin":false},"repo":{"id":27408463,"name":"socraticqs2","full_name":"cjlee112/socraticqs2","owner":{"login":"cjlee112","id":59820,"avatar_url":"https://avatars.githubusercontent.com/u/59820?v=3","gravatar_id":"","url":"https://api.github.com/users/cjlee112","html_url":"https://github.com/cjlee112","followers_url":"https://api.github.com/users/cjlee112/followers","following_url":"https://api.github.com/users/cjlee112/following{/other_user}","gists_url":"https://api.github.com/users/cjlee112/gists{/gist_id}","starred_url":"https://api.github.com/users/cjlee112/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cjlee112/subscriptions","organizations_url":"https://api.github.com/users/cjlee112/orgs","repos_url":"https://api.github.com/users/cjlee112/repos","events_url":"https://api.github.com/users/cjlee112/events{/privacy}","received_events_url":"https://api.github.com/users/cjlee112/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cjlee112/socraticqs2","description":"courselets.org web service implementation","fork":false,"url":"https://api.github.com/repos/cjlee112/socraticqs2","forks_url":"https://api.github.com/repos/cjlee112/socraticqs2/forks","keys_url":"https://api.github.com/repos/cjlee112/socraticqs2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cjlee112/socraticqs2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cjlee112/socraticqs2/teams","hooks_url":"https://api.github.com/repos/cjlee112/socraticqs2/hooks","issue_events_url":"https://api.github.com/repos/cjlee112/socraticqs2/issues/events{/number}","events_url":"https://api.github.com/repos/cjlee112/socraticqs2/events","assignees_url":"https://api.github.com/repos/cjlee112/socraticqs2/assignees{/user}","branches_url":"https://api.github.com/repos/cjlee112/socraticqs2/branches{/branch}","tags_url":"https://api.github.com/repos/cjlee112/socraticqs2/tags","blobs_url":"https://api.github.com/repos/cjlee112/socraticqs2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cjlee112/socraticqs2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cjlee112/socraticqs2/git/refs{/sha}","trees_url":"https://api.github.com/repos/cjlee112/socraticqs2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cjlee112/socraticqs2/statuses/{sha}","languages_url":"https://api.github.com/repos/cjlee112/socraticqs2/languages","stargazers_url":"https://api.github.com/repos/cjlee112/socraticqs2/stargazers","contributors_url":"https://api.github.com/repos/cjlee112/socraticqs2/contributors","subscribers_url":"https://api.github.com/repos/cjlee112/socraticqs2/subscribers","subscription_url":"https://api.github.com/repos/cjlee112/socraticqs2/subscription","commits_url":"https://api.github.com/repos/cjlee112/socraticqs2/commits{/sha}","git_commits_url":"https://api.github.com/repos/cjlee112/socraticqs2/git/commits{/sha}","comments_url":"https://api.github.com/repos/cjlee112/socraticqs2/comments{/number}","issue_comment_url":"https://api.github.com/repos/cjlee112/socraticqs2/issues/comments{/number}","contents_url":"https://api.github.com/repos/cjlee112/socraticqs2/contents/{+path}","compare_url":"https://api.github.com/repos/cjlee112/socraticqs2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cjlee112/socraticqs2/merges","archive_url":"https://api.github.com/repos/cjlee112/socraticqs2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cjlee112/socraticqs2/downloads","issues_url":"https://api.github.com/repos/cjlee112/socraticqs2/issues{/number}","pulls_url":"https://api.github.com/repos/cjlee112/socraticqs2/pulls{/number}","milestones_url":"https://api.github.com/repos/cjlee112/socraticqs2/milestones{/number}","notifications_url":"https://api.github.com/repos/cjlee112/socraticqs2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cjlee112/socraticqs2/labels{/name}","releases_url":"https://api.github.com/repos/cjlee112/socraticqs2/releases{/id}","created_at":"2014-12-02T01:11:08Z","updated_at":"2015-05-01T04:28:05Z","pushed_at":"2015-05-20T15:17:42Z","git_url":"git://github.com/cjlee112/socraticqs2.git","ssh_url":"git@github.com:cjlee112/socraticqs2.git","clone_url":"https://github.com/cjlee112/socraticqs2.git","svn_url":"https://github.com/cjlee112/socraticqs2","homepage":null,"size":1385,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":6,"mirror_url":null,"open_issues_count":31,"forks":6,"open_issues":31,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cjlee112/socraticqs2/pulls/37"},"html":{"href":"https://github.com/cjlee112/socraticqs2/pull/37"},"issue":{"href":"https://api.github.com/repos/cjlee112/socraticqs2/issues/37"},"comments":{"href":"https://api.github.com/repos/cjlee112/socraticqs2/issues/37/comments"},"review_comments":{"href":"https://api.github.com/repos/cjlee112/socraticqs2/pulls/37/comments"},"review_comment":{"href":"https://api.github.com/repos/cjlee112/socraticqs2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cjlee112/socraticqs2/pulls/37/commits"},"statuses":{"href":"https://api.github.com/repos/cjlee112/socraticqs2/statuses/ceeab272994fd6806ab5e700c7895b0eda668a5f"}}}}