{"action":"created","comment":{"url":"https://api.github.com/repos/charityscience/csh-sms/pulls/comments/133355940","pull_request_review_id":56526403,"id":133355940,"diff_hunk":"@@ -0,0 +1,32 @@\n+import time\n+from cshsms.settings import HSPSMS_API, HSPSMS_USERNAME, HSPSMS_SENDERNAME, TEXTLOCAL_PHONENUMBER\n+from django.test import TestCase\n+from modules.hspsmswrapper import Hspsms\n+from modules.texter import Texter\n+\n+HSPSMS = Hspsms(apikey=HSPSMS_API, username=HSPSMS_USERNAME, sendername=HSPSMS_SENDERNAME)\n+class HspsmsSendingTests(TestCase):\n+\n+\tdef test_send_message_to_fake_number(self):\n+\t\ttime.sleep(60)\n+\t\tfr = HSPSMS.send_transactional_message(message='Example Hspsms message to fake number', phone_number='0000000')\n+\t\tself.assertTrue(fr)\n+\t\tself.assertIsInstance(fr, list)\n+\t\tself.assertTrue(fr[0]['responseCode'])","path":"live_tests/modules/test_hspsmswrapper.py","position":15,"original_position":15,"commit_id":"f97a3e95161211f42b321d57a4c3e38858d13d1b","original_commit_id":"f97a3e95161211f42b321d57a4c3e38858d13d1b","user":{"login":"peterhurford","id":5100840,"avatar_url":"https://avatars2.githubusercontent.com/u/5100840?v=4","gravatar_id":"","url":"https://api.github.com/users/peterhurford","html_url":"https://github.com/peterhurford","followers_url":"https://api.github.com/users/peterhurford/followers","following_url":"https://api.github.com/users/peterhurford/following{/other_user}","gists_url":"https://api.github.com/users/peterhurford/gists{/gist_id}","starred_url":"https://api.github.com/users/peterhurford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterhurford/subscriptions","organizations_url":"https://api.github.com/users/peterhurford/orgs","repos_url":"https://api.github.com/users/peterhurford/repos","events_url":"https://api.github.com/users/peterhurford/events{/privacy}","received_events_url":"https://api.github.com/users/peterhurford/received_events","type":"User","site_admin":false},"body":"Should this be `assertTrue(fr[0])`?","created_at":"2017-08-16T04:15:15Z","updated_at":"2017-08-16T04:15:15Z","html_url":"https://github.com/charityscience/csh-sms/pull/49#discussion_r133355940","pull_request_url":"https://api.github.com/repos/charityscience/csh-sms/pulls/49","_links":{"self":{"href":"https://api.github.com/repos/charityscience/csh-sms/pulls/comments/133355940"},"html":{"href":"https://github.com/charityscience/csh-sms/pull/49#discussion_r133355940"},"pull_request":{"href":"https://api.github.com/repos/charityscience/csh-sms/pulls/49"}}},"pull_request":{"url":"https://api.github.com/repos/charityscience/csh-sms/pulls/49","id":135919037,"html_url":"https://github.com/charityscience/csh-sms/pull/49","diff_url":"https://github.com/charityscience/csh-sms/pull/49.diff","patch_url":"https://github.com/charityscience/csh-sms/pull/49.patch","issue_url":"https://api.github.com/repos/charityscience/csh-sms/issues/49","number":49,"state":"open","locked":false,"title":"[WIP] Live tests","user":{"login":"marcus-a-davis","id":10674770,"avatar_url":"https://avatars1.githubusercontent.com/u/10674770?v=4","gravatar_id":"","url":"https://api.github.com/users/marcus-a-davis","html_url":"https://github.com/marcus-a-davis","followers_url":"https://api.github.com/users/marcus-a-davis/followers","following_url":"https://api.github.com/users/marcus-a-davis/following{/other_user}","gists_url":"https://api.github.com/users/marcus-a-davis/gists{/gist_id}","starred_url":"https://api.github.com/users/marcus-a-davis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcus-a-davis/subscriptions","organizations_url":"https://api.github.com/users/marcus-a-davis/orgs","repos_url":"https://api.github.com/users/marcus-a-davis/repos","events_url":"https://api.github.com/users/marcus-a-davis/events{/privacy}","received_events_url":"https://api.github.com/users/marcus-a-davis/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-08-16T00:27:44Z","updated_at":"2017-08-16T04:15:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5e819cc49594eb3a1abffba6721887ac9c80a231","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/charityscience/csh-sms/pulls/49/commits","review_comments_url":"https://api.github.com/repos/charityscience/csh-sms/pulls/49/comments","review_comment_url":"https://api.github.com/repos/charityscience/csh-sms/pulls/comments{/number}","comments_url":"https://api.github.com/repos/charityscience/csh-sms/issues/49/comments","statuses_url":"https://api.github.com/repos/charityscience/csh-sms/statuses/f97a3e95161211f42b321d57a4c3e38858d13d1b","head":{"label":"charityscience:live_tests","ref":"live_tests","sha":"f97a3e95161211f42b321d57a4c3e38858d13d1b","user":{"login":"charityscience","id":29961893,"avatar_url":"https://avatars3.githubusercontent.com/u/29961893?v=4","gravatar_id":"","url":"https://api.github.com/users/charityscience","html_url":"https://github.com/charityscience","followers_url":"https://api.github.com/users/charityscience/followers","following_url":"https://api.github.com/users/charityscience/following{/other_user}","gists_url":"https://api.github.com/users/charityscience/gists{/gist_id}","starred_url":"https://api.github.com/users/charityscience/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/charityscience/subscriptions","organizations_url":"https://api.github.com/users/charityscience/orgs","repos_url":"https://api.github.com/users/charityscience/repos","events_url":"https://api.github.com/users/charityscience/events{/privacy}","received_events_url":"https://api.github.com/users/charityscience/received_events","type":"Organization","site_admin":false},"repo":{"id":96240944,"name":"csh-sms","full_name":"charityscience/csh-sms","owner":{"login":"charityscience","id":29961893,"avatar_url":"https://avatars3.githubusercontent.com/u/29961893?v=4","gravatar_id":"","url":"https://api.github.com/users/charityscience","html_url":"https://github.com/charityscience","followers_url":"https://api.github.com/users/charityscience/followers","following_url":"https://api.github.com/users/charityscience/following{/other_user}","gists_url":"https://api.github.com/users/charityscience/gists{/gist_id}","starred_url":"https://api.github.com/users/charityscience/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/charityscience/subscriptions","organizations_url":"https://api.github.com/users/charityscience/orgs","repos_url":"https://api.github.com/users/charityscience/repos","events_url":"https://api.github.com/users/charityscience/events{/privacy}","received_events_url":"https://api.github.com/users/charityscience/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/charityscience/csh-sms","description":"Increasing vaccination rates in India by sending texts reminding mothers to get their children vaccinated. Saving lives!","fork":false,"url":"https://api.github.com/repos/charityscience/csh-sms","forks_url":"https://api.github.com/repos/charityscience/csh-sms/forks","keys_url":"https://api.github.com/repos/charityscience/csh-sms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/charityscience/csh-sms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/charityscience/csh-sms/teams","hooks_url":"https://api.github.com/repos/charityscience/csh-sms/hooks","issue_events_url":"https://api.github.com/repos/charityscience/csh-sms/issues/events{/number}","events_url":"https://api.github.com/repos/charityscience/csh-sms/events","assignees_url":"https://api.github.com/repos/charityscience/csh-sms/assignees{/user}","branches_url":"https://api.github.com/repos/charityscience/csh-sms/branches{/branch}","tags_url":"https://api.github.com/repos/charityscience/csh-sms/tags","blobs_url":"https://api.github.com/repos/charityscience/csh-sms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/charityscience/csh-sms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/charityscience/csh-sms/git/refs{/sha}","trees_url":"https://api.github.com/repos/charityscience/csh-sms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/charityscience/csh-sms/statuses/{sha}","languages_url":"https://api.github.com/repos/charityscience/csh-sms/languages","stargazers_url":"https://api.github.com/repos/charityscience/csh-sms/stargazers","contributors_url":"https://api.github.com/repos/charityscience/csh-sms/contributors","subscribers_url":"https://api.github.com/repos/charityscience/csh-sms/subscribers","subscription_url":"https://api.github.com/repos/charityscience/csh-sms/subscription","commits_url":"https://api.github.com/repos/charityscience/csh-sms/commits{/sha}","git_commits_url":"https://api.github.com/repos/charityscience/csh-sms/git/commits{/sha}","comments_url":"https://api.github.com/repos/charityscience/csh-sms/comments{/number}","issue_comment_url":"https://api.github.com/repos/charityscience/csh-sms/issues/comments{/number}","contents_url":"https://api.github.com/repos/charityscience/csh-sms/contents/{+path}","compare_url":"https://api.github.com/repos/charityscience/csh-sms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/charityscience/csh-sms/merges","archive_url":"https://api.github.com/repos/charityscience/csh-sms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/charityscience/csh-sms/downloads","issues_url":"https://api.github.com/repos/charityscience/csh-sms/issues{/number}","pulls_url":"https://api.github.com/repos/charityscience/csh-sms/pulls{/number}","milestones_url":"https://api.github.com/repos/charityscience/csh-sms/milestones{/number}","notifications_url":"https://api.github.com/repos/charityscience/csh-sms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/charityscience/csh-sms/labels{/name}","releases_url":"https://api.github.com/repos/charityscience/csh-sms/releases{/id}","deployments_url":"https://api.github.com/repos/charityscience/csh-sms/deployments","created_at":"2017-07-04T17:36:06Z","updated_at":"2017-07-28T04:32:00Z","pushed_at":"2017-08-16T00:27:45Z","git_url":"git://github.com/charityscience/csh-sms.git","ssh_url":"git@github.com:charityscience/csh-sms.git","clone_url":"https://github.com/charityscience/csh-sms.git","svn_url":"https://github.com/charityscience/csh-sms","homepage":"http://www.charitysciencehealth.com","size":194,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_projects":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":2,"default_branch":"master"}},"base":{"label":"charityscience:master","ref":"master","sha":"783bad39d75282a82d44f7b8e01abe971d461553","user":{"login":"charityscience","id":29961893,"avatar_url":"https://avatars3.githubusercontent.com/u/29961893?v=4","gravatar_id":"","url":"https://api.github.com/users/charityscience","html_url":"https://github.com/charityscience","followers_url":"https://api.github.com/users/charityscience/followers","following_url":"https://api.github.com/users/charityscience/following{/other_user}","gists_url":"https://api.github.com/users/charityscience/gists{/gist_id}","starred_url":"https://api.github.com/users/charityscience/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/charityscience/subscriptions","organizations_url":"https://api.github.com/users/charityscience/orgs","repos_url":"https://api.github.com/users/charityscience/repos","events_url":"https://api.github.com/users/charityscience/events{/privacy}","received_events_url":"https://api.github.com/users/charityscience/received_events","type":"Organization","site_admin":false},"repo":{"id":96240944,"name":"csh-sms","full_name":"charityscience/csh-sms","owner":{"login":"charityscience","id":29961893,"avatar_url":"https://avatars3.githubusercontent.com/u/29961893?v=4","gravatar_id":"","url":"https://api.github.com/users/charityscience","html_url":"https://github.com/charityscience","followers_url":"https://api.github.com/users/charityscience/followers","following_url":"https://api.github.com/users/charityscience/following{/other_user}","gists_url":"https://api.github.com/users/charityscience/gists{/gist_id}","starred_url":"https://api.github.com/users/charityscience/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/charityscience/subscriptions","organizations_url":"https://api.github.com/users/charityscience/orgs","repos_url":"https://api.github.com/users/charityscience/repos","events_url":"https://api.github.com/users/charityscience/events{/privacy}","received_events_url":"https://api.github.com/users/charityscience/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/charityscience/csh-sms","description":"Increasing vaccination rates in India by sending texts reminding mothers to get their children vaccinated. Saving lives!","fork":false,"url":"https://api.github.com/repos/charityscience/csh-sms","forks_url":"https://api.github.com/repos/charityscience/csh-sms/forks","keys_url":"https://api.github.com/repos/charityscience/csh-sms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/charityscience/csh-sms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/charityscience/csh-sms/teams","hooks_url":"https://api.github.com/repos/charityscience/csh-sms/hooks","issue_events_url":"https://api.github.com/repos/charityscience/csh-sms/issues/events{/number}","events_url":"https://api.github.com/repos/charityscience/csh-sms/events","assignees_url":"https://api.github.com/repos/charityscience/csh-sms/assignees{/user}","branches_url":"https://api.github.com/repos/charityscience/csh-sms/branches{/branch}","tags_url":"https://api.github.com/repos/charityscience/csh-sms/tags","blobs_url":"https://api.github.com/repos/charityscience/csh-sms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/charityscience/csh-sms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/charityscience/csh-sms/git/refs{/sha}","trees_url":"https://api.github.com/repos/charityscience/csh-sms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/charityscience/csh-sms/statuses/{sha}","languages_url":"https://api.github.com/repos/charityscience/csh-sms/languages","stargazers_url":"https://api.github.com/repos/charityscience/csh-sms/stargazers","contributors_url":"https://api.github.com/repos/charityscience/csh-sms/contributors","subscribers_url":"https://api.github.com/repos/charityscience/csh-sms/subscribers","subscription_url":"https://api.github.com/repos/charityscience/csh-sms/subscription","commits_url":"https://api.github.com/repos/charityscience/csh-sms/commits{/sha}","git_commits_url":"https://api.github.com/repos/charityscience/csh-sms/git/commits{/sha}","comments_url":"https://api.github.com/repos/charityscience/csh-sms/comments{/number}","issue_comment_url":"https://api.github.com/repos/charityscience/csh-sms/issues/comments{/number}","contents_url":"https://api.github.com/repos/charityscience/csh-sms/contents/{+path}","compare_url":"https://api.github.com/repos/charityscience/csh-sms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/charityscience/csh-sms/merges","archive_url":"https://api.github.com/repos/charityscience/csh-sms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/charityscience/csh-sms/downloads","issues_url":"https://api.github.com/repos/charityscience/csh-sms/issues{/number}","pulls_url":"https://api.github.com/repos/charityscience/csh-sms/pulls{/number}","milestones_url":"https://api.github.com/repos/charityscience/csh-sms/milestones{/number}","notifications_url":"https://api.github.com/repos/charityscience/csh-sms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/charityscience/csh-sms/labels{/name}","releases_url":"https://api.github.com/repos/charityscience/csh-sms/releases{/id}","deployments_url":"https://api.github.com/repos/charityscience/csh-sms/deployments","created_at":"2017-07-04T17:36:06Z","updated_at":"2017-07-28T04:32:00Z","pushed_at":"2017-08-16T00:27:45Z","git_url":"git://github.com/charityscience/csh-sms.git","ssh_url":"git@github.com:charityscience/csh-sms.git","clone_url":"https://github.com/charityscience/csh-sms.git","svn_url":"https://github.com/charityscience/csh-sms","homepage":"http://www.charitysciencehealth.com","size":194,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_projects":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":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/charityscience/csh-sms/pulls/49"},"html":{"href":"https://github.com/charityscience/csh-sms/pull/49"},"issue":{"href":"https://api.github.com/repos/charityscience/csh-sms/issues/49"},"comments":{"href":"https://api.github.com/repos/charityscience/csh-sms/issues/49/comments"},"review_comments":{"href":"https://api.github.com/repos/charityscience/csh-sms/pulls/49/comments"},"review_comment":{"href":"https://api.github.com/repos/charityscience/csh-sms/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/charityscience/csh-sms/pulls/49/commits"},"statuses":{"href":"https://api.github.com/repos/charityscience/csh-sms/statuses/f97a3e95161211f42b321d57a4c3e38858d13d1b"}}}}
{"actor":{"display_login":"peterhurford"}}