{"action":"created","comment":{"url":"https://api.github.com/repos/mozilla/webpay/pulls/comments/27672255","id":27672255,"diff_hunk":"@@ -898,6 +898,29 @@ def test_use_locale_name(self):\n         eq_(start_pay.call_args[0][1]['pay_request']['request']['description'],\n             description)\n \n+    def test_fallback_locale_name(self):\n+        name = u'Fall ☃'\n+        description = u'Back'\n+        self.notes['pay_request']['request']['name'] = name\n+        self.notes['pay_request']['request']['description'] = description\n+        self.notes['pay_request']['request']['locales'] = {\n+            'de': {\n+                'name': None,\n+                'description': None,\n+            }\n+        }\n+        self.solitude.get_transaction.return_value = {\n+            'status': constants.STATUS_CANCELLED, 'resource_pk': '1',\n+            'notes': self.notes\n+        }\n+        ok_(self.start(locale='de')[0])","path":"webpay/pay/tests/test_tasks.py","position":19,"original_position":19,"commit_id":"445b76ac8f427b4355f96569d7ceda251d4fca13","original_commit_id":"445b76ac8f427b4355f96569d7ceda251d4fca13","user":{"login":"kumar303","id":55398,"avatar_url":"https://avatars.githubusercontent.com/u/55398?v=3","gravatar_id":"","url":"https://api.github.com/users/kumar303","html_url":"https://github.com/kumar303","followers_url":"https://api.github.com/users/kumar303/followers","following_url":"https://api.github.com/users/kumar303/following{/other_user}","gists_url":"https://api.github.com/users/kumar303/gists{/gist_id}","starred_url":"https://api.github.com/users/kumar303/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kumar303/subscriptions","organizations_url":"https://api.github.com/users/kumar303/orgs","repos_url":"https://api.github.com/users/kumar303/repos","events_url":"https://api.github.com/users/kumar303/events{/privacy}","received_events_url":"https://api.github.com/users/kumar303/received_events","type":"User","site_admin":false},"body":"Huh. I wonder why ``tasks.configure_transaction()`` doesn't just raise an exception. Probably JavaScript rotting my brain.","created_at":"2015-04-02T16:16:08Z","updated_at":"2015-04-02T16:16:08Z","html_url":"https://github.com/mozilla/webpay/pull/621#discussion_r27672255","pull_request_url":"https://api.github.com/repos/mozilla/webpay/pulls/621","_links":{"self":{"href":"https://api.github.com/repos/mozilla/webpay/pulls/comments/27672255"},"html":{"href":"https://github.com/mozilla/webpay/pull/621#discussion_r27672255"},"pull_request":{"href":"https://api.github.com/repos/mozilla/webpay/pulls/621"}}},"pull_request":{"url":"https://api.github.com/repos/mozilla/webpay/pulls/621","id":32509531,"html_url":"https://github.com/mozilla/webpay/pull/621","diff_url":"https://github.com/mozilla/webpay/pull/621.diff","patch_url":"https://github.com/mozilla/webpay/pull/621.patch","issue_url":"https://api.github.com/repos/mozilla/webpay/issues/621","number":621,"state":"open","locked":false,"title":"fallback if the translation is partial (bug 1150480)","user":{"login":"andymckay","id":74699,"avatar_url":"https://avatars.githubusercontent.com/u/74699?v=3","gravatar_id":"","url":"https://api.github.com/users/andymckay","html_url":"https://github.com/andymckay","followers_url":"https://api.github.com/users/andymckay/followers","following_url":"https://api.github.com/users/andymckay/following{/other_user}","gists_url":"https://api.github.com/users/andymckay/gists{/gist_id}","starred_url":"https://api.github.com/users/andymckay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andymckay/subscriptions","organizations_url":"https://api.github.com/users/andymckay/orgs","repos_url":"https://api.github.com/users/andymckay/repos","events_url":"https://api.github.com/users/andymckay/events{/privacy}","received_events_url":"https://api.github.com/users/andymckay/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-04-02T13:07:43Z","updated_at":"2015-04-02T16:16:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"19e95f608d620a61ceb8318957cb60e29eb24de9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mozilla/webpay/pulls/621/commits","review_comments_url":"https://api.github.com/repos/mozilla/webpay/pulls/621/comments","review_comment_url":"https://api.github.com/repos/mozilla/webpay/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mozilla/webpay/issues/621/comments","statuses_url":"https://api.github.com/repos/mozilla/webpay/statuses/445b76ac8f427b4355f96569d7ceda251d4fca13","head":{"label":"andymckay:1150480","ref":"1150480","sha":"445b76ac8f427b4355f96569d7ceda251d4fca13","user":{"login":"andymckay","id":74699,"avatar_url":"https://avatars.githubusercontent.com/u/74699?v=3","gravatar_id":"","url":"https://api.github.com/users/andymckay","html_url":"https://github.com/andymckay","followers_url":"https://api.github.com/users/andymckay/followers","following_url":"https://api.github.com/users/andymckay/following{/other_user}","gists_url":"https://api.github.com/users/andymckay/gists{/gist_id}","starred_url":"https://api.github.com/users/andymckay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andymckay/subscriptions","organizations_url":"https://api.github.com/users/andymckay/orgs","repos_url":"https://api.github.com/users/andymckay/repos","events_url":"https://api.github.com/users/andymckay/events{/privacy}","received_events_url":"https://api.github.com/users/andymckay/received_events","type":"User","site_admin":false},"repo":{"id":23588431,"name":"webpay","full_name":"andymckay/webpay","owner":{"login":"andymckay","id":74699,"avatar_url":"https://avatars.githubusercontent.com/u/74699?v=3","gravatar_id":"","url":"https://api.github.com/users/andymckay","html_url":"https://github.com/andymckay","followers_url":"https://api.github.com/users/andymckay/followers","following_url":"https://api.github.com/users/andymckay/following{/other_user}","gists_url":"https://api.github.com/users/andymckay/gists{/gist_id}","starred_url":"https://api.github.com/users/andymckay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andymckay/subscriptions","organizations_url":"https://api.github.com/users/andymckay/orgs","repos_url":"https://api.github.com/users/andymckay/repos","events_url":"https://api.github.com/users/andymckay/events{/privacy}","received_events_url":"https://api.github.com/users/andymckay/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/andymckay/webpay","description":"Webpay is an implementation of the WebPaymentProvider spec","fork":true,"url":"https://api.github.com/repos/andymckay/webpay","forks_url":"https://api.github.com/repos/andymckay/webpay/forks","keys_url":"https://api.github.com/repos/andymckay/webpay/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andymckay/webpay/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andymckay/webpay/teams","hooks_url":"https://api.github.com/repos/andymckay/webpay/hooks","issue_events_url":"https://api.github.com/repos/andymckay/webpay/issues/events{/number}","events_url":"https://api.github.com/repos/andymckay/webpay/events","assignees_url":"https://api.github.com/repos/andymckay/webpay/assignees{/user}","branches_url":"https://api.github.com/repos/andymckay/webpay/branches{/branch}","tags_url":"https://api.github.com/repos/andymckay/webpay/tags","blobs_url":"https://api.github.com/repos/andymckay/webpay/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andymckay/webpay/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andymckay/webpay/git/refs{/sha}","trees_url":"https://api.github.com/repos/andymckay/webpay/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andymckay/webpay/statuses/{sha}","languages_url":"https://api.github.com/repos/andymckay/webpay/languages","stargazers_url":"https://api.github.com/repos/andymckay/webpay/stargazers","contributors_url":"https://api.github.com/repos/andymckay/webpay/contributors","subscribers_url":"https://api.github.com/repos/andymckay/webpay/subscribers","subscription_url":"https://api.github.com/repos/andymckay/webpay/subscription","commits_url":"https://api.github.com/repos/andymckay/webpay/commits{/sha}","git_commits_url":"https://api.github.com/repos/andymckay/webpay/git/commits{/sha}","comments_url":"https://api.github.com/repos/andymckay/webpay/comments{/number}","issue_comment_url":"https://api.github.com/repos/andymckay/webpay/issues/comments{/number}","contents_url":"https://api.github.com/repos/andymckay/webpay/contents/{+path}","compare_url":"https://api.github.com/repos/andymckay/webpay/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andymckay/webpay/merges","archive_url":"https://api.github.com/repos/andymckay/webpay/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andymckay/webpay/downloads","issues_url":"https://api.github.com/repos/andymckay/webpay/issues{/number}","pulls_url":"https://api.github.com/repos/andymckay/webpay/pulls{/number}","milestones_url":"https://api.github.com/repos/andymckay/webpay/milestones{/number}","notifications_url":"https://api.github.com/repos/andymckay/webpay/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andymckay/webpay/labels{/name}","releases_url":"https://api.github.com/repos/andymckay/webpay/releases{/id}","created_at":"2014-09-02T17:29:56Z","updated_at":"2014-10-03T22:11:14Z","pushed_at":"2015-04-02T15:46:16Z","git_url":"git://github.com/andymckay/webpay.git","ssh_url":"git@github.com:andymckay/webpay.git","clone_url":"https://github.com/andymckay/webpay.git","svn_url":"https://github.com/andymckay/webpay","homepage":"","size":47919,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mozilla:master","ref":"master","sha":"78fa968d34ea5a9218a537828d2d0f87d2a02bcf","user":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"repo":{"id":6037696,"name":"webpay","full_name":"mozilla/webpay","owner":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mozilla/webpay","description":"Webpay is an implementation of the WebPaymentProvider spec","fork":false,"url":"https://api.github.com/repos/mozilla/webpay","forks_url":"https://api.github.com/repos/mozilla/webpay/forks","keys_url":"https://api.github.com/repos/mozilla/webpay/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla/webpay/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla/webpay/teams","hooks_url":"https://api.github.com/repos/mozilla/webpay/hooks","issue_events_url":"https://api.github.com/repos/mozilla/webpay/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla/webpay/events","assignees_url":"https://api.github.com/repos/mozilla/webpay/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla/webpay/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla/webpay/tags","blobs_url":"https://api.github.com/repos/mozilla/webpay/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla/webpay/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla/webpay/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla/webpay/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla/webpay/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla/webpay/languages","stargazers_url":"https://api.github.com/repos/mozilla/webpay/stargazers","contributors_url":"https://api.github.com/repos/mozilla/webpay/contributors","subscribers_url":"https://api.github.com/repos/mozilla/webpay/subscribers","subscription_url":"https://api.github.com/repos/mozilla/webpay/subscription","commits_url":"https://api.github.com/repos/mozilla/webpay/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla/webpay/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla/webpay/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla/webpay/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla/webpay/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla/webpay/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla/webpay/merges","archive_url":"https://api.github.com/repos/mozilla/webpay/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla/webpay/downloads","issues_url":"https://api.github.com/repos/mozilla/webpay/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla/webpay/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla/webpay/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla/webpay/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla/webpay/labels{/name}","releases_url":"https://api.github.com/repos/mozilla/webpay/releases{/id}","created_at":"2012-10-01T23:10:24Z","updated_at":"2015-04-01T22:36:50Z","pushed_at":"2015-04-02T15:46:16Z","git_url":"git://github.com/mozilla/webpay.git","ssh_url":"git@github.com:mozilla/webpay.git","clone_url":"https://github.com/mozilla/webpay.git","svn_url":"https://github.com/mozilla/webpay","homepage":"","size":63852,"stargazers_count":36,"watchers_count":36,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":52,"mirror_url":null,"open_issues_count":2,"forks":52,"open_issues":2,"watchers":36,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla/webpay/pulls/621"},"html":{"href":"https://github.com/mozilla/webpay/pull/621"},"issue":{"href":"https://api.github.com/repos/mozilla/webpay/issues/621"},"comments":{"href":"https://api.github.com/repos/mozilla/webpay/issues/621/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla/webpay/pulls/621/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla/webpay/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mozilla/webpay/pulls/621/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla/webpay/statuses/445b76ac8f427b4355f96569d7ceda251d4fca13"}}}}