{"action":"created","comment":{"url":"https://api.github.com/repos/mozilla/zamboni/pulls/comments/35040577","id":35040577,"diff_hunk":"@@ -201,6 +204,37 @@ def test_filter(self):\n         eq_(response.json['objects'][0]['guid'], inactive.guid)\n \n \n+class TestInAppProductsWithPackagedWebApp(AuthenticatedInAppProductTest):\n+\n+    def setUp(self):\n+        super(TestInAppProductsWithPackagedWebApp, self).setUp()\n+        # Set up a packaged web app, i.e. one without a declared domain.\n+        self.webapp.update(app_domain=None, is_packaged=True)\n+        self.product = self.create_product()\n+\n+    def marketplace_origin(self):\n+        return 'marketplace:{}'.format(self.webapp.guid)","path":"mkt/inapp/tests/test_views.py","position":33,"original_position":33,"commit_id":"4b42de25c99990169cee4512f086d3a31f8e62ec","original_commit_id":"4b42de25c99990169cee4512f086d3a31f8e62ec","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":"this is just a test case helper but I realize I forgot to generate one in the setup, whoops","created_at":"2015-07-20T20:35:28Z","updated_at":"2015-07-20T20:35:28Z","html_url":"https://github.com/mozilla/zamboni/pull/3187#discussion_r35040577","pull_request_url":"https://api.github.com/repos/mozilla/zamboni/pulls/3187","_links":{"self":{"href":"https://api.github.com/repos/mozilla/zamboni/pulls/comments/35040577"},"html":{"href":"https://github.com/mozilla/zamboni/pull/3187#discussion_r35040577"},"pull_request":{"href":"https://api.github.com/repos/mozilla/zamboni/pulls/3187"}}},"pull_request":{"url":"https://api.github.com/repos/mozilla/zamboni/pulls/3187","id":40389963,"html_url":"https://github.com/mozilla/zamboni/pull/3187","diff_url":"https://github.com/mozilla/zamboni/pull/3187.diff","patch_url":"https://github.com/mozilla/zamboni/pull/3187.patch","issue_url":"https://api.github.com/repos/mozilla/zamboni/issues/3187","number":3187,"state":"open","locked":false,"title":"in-app products for web packages without origins","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":"Fixes: https://github.com/mozilla/fxpay/issues/116","created_at":"2015-07-20T19:51:36Z","updated_at":"2015-07-20T20:35:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8bedff28f534b1de79c790ac4978bdfeaa6d43ef","assignee":{"login":"mstriemer","id":211578,"avatar_url":"https://avatars.githubusercontent.com/u/211578?v=3","gravatar_id":"","url":"https://api.github.com/users/mstriemer","html_url":"https://github.com/mstriemer","followers_url":"https://api.github.com/users/mstriemer/followers","following_url":"https://api.github.com/users/mstriemer/following{/other_user}","gists_url":"https://api.github.com/users/mstriemer/gists{/gist_id}","starred_url":"https://api.github.com/users/mstriemer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mstriemer/subscriptions","organizations_url":"https://api.github.com/users/mstriemer/orgs","repos_url":"https://api.github.com/users/mstriemer/repos","events_url":"https://api.github.com/users/mstriemer/events{/privacy}","received_events_url":"https://api.github.com/users/mstriemer/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/mozilla/zamboni/pulls/3187/commits","review_comments_url":"https://api.github.com/repos/mozilla/zamboni/pulls/3187/comments","review_comment_url":"https://api.github.com/repos/mozilla/zamboni/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mozilla/zamboni/issues/3187/comments","statuses_url":"https://api.github.com/repos/mozilla/zamboni/statuses/4b42de25c99990169cee4512f086d3a31f8e62ec","head":{"label":"kumar303:web-pkg","ref":"web-pkg","sha":"4b42de25c99990169cee4512f086d3a31f8e62ec","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},"repo":{"id":981599,"name":"zamboni","full_name":"kumar303/zamboni","owner":{"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},"private":false,"html_url":"https://github.com/kumar303/zamboni","description":"A clandestine operation to make AMO happy","fork":true,"url":"https://api.github.com/repos/kumar303/zamboni","forks_url":"https://api.github.com/repos/kumar303/zamboni/forks","keys_url":"https://api.github.com/repos/kumar303/zamboni/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kumar303/zamboni/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kumar303/zamboni/teams","hooks_url":"https://api.github.com/repos/kumar303/zamboni/hooks","issue_events_url":"https://api.github.com/repos/kumar303/zamboni/issues/events{/number}","events_url":"https://api.github.com/repos/kumar303/zamboni/events","assignees_url":"https://api.github.com/repos/kumar303/zamboni/assignees{/user}","branches_url":"https://api.github.com/repos/kumar303/zamboni/branches{/branch}","tags_url":"https://api.github.com/repos/kumar303/zamboni/tags","blobs_url":"https://api.github.com/repos/kumar303/zamboni/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kumar303/zamboni/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kumar303/zamboni/git/refs{/sha}","trees_url":"https://api.github.com/repos/kumar303/zamboni/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kumar303/zamboni/statuses/{sha}","languages_url":"https://api.github.com/repos/kumar303/zamboni/languages","stargazers_url":"https://api.github.com/repos/kumar303/zamboni/stargazers","contributors_url":"https://api.github.com/repos/kumar303/zamboni/contributors","subscribers_url":"https://api.github.com/repos/kumar303/zamboni/subscribers","subscription_url":"https://api.github.com/repos/kumar303/zamboni/subscription","commits_url":"https://api.github.com/repos/kumar303/zamboni/commits{/sha}","git_commits_url":"https://api.github.com/repos/kumar303/zamboni/git/commits{/sha}","comments_url":"https://api.github.com/repos/kumar303/zamboni/comments{/number}","issue_comment_url":"https://api.github.com/repos/kumar303/zamboni/issues/comments{/number}","contents_url":"https://api.github.com/repos/kumar303/zamboni/contents/{+path}","compare_url":"https://api.github.com/repos/kumar303/zamboni/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kumar303/zamboni/merges","archive_url":"https://api.github.com/repos/kumar303/zamboni/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kumar303/zamboni/downloads","issues_url":"https://api.github.com/repos/kumar303/zamboni/issues{/number}","pulls_url":"https://api.github.com/repos/kumar303/zamboni/pulls{/number}","milestones_url":"https://api.github.com/repos/kumar303/zamboni/milestones{/number}","notifications_url":"https://api.github.com/repos/kumar303/zamboni/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kumar303/zamboni/labels{/name}","releases_url":"https://api.github.com/repos/kumar303/zamboni/releases{/id}","created_at":"2010-10-12T16:33:13Z","updated_at":"2015-03-27T20:33:29Z","pushed_at":"2015-07-20T19:51:24Z","git_url":"git://github.com/kumar303/zamboni.git","ssh_url":"git@github.com:kumar303/zamboni.git","clone_url":"https://github.com/kumar303/zamboni.git","svn_url":"https://github.com/kumar303/zamboni","homepage":"http://jbalogh.github.com/zamboni/","size":358951,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":2,"default_branch":"master"}},"base":{"label":"mozilla:master","ref":"master","sha":"f21c0e986cf03856bdc6dd1fd25405e46b8c3dd6","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":347655,"name":"zamboni","full_name":"mozilla/zamboni","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/zamboni","description":"Backend for the Firefox Marketplace","fork":false,"url":"https://api.github.com/repos/mozilla/zamboni","forks_url":"https://api.github.com/repos/mozilla/zamboni/forks","keys_url":"https://api.github.com/repos/mozilla/zamboni/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla/zamboni/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla/zamboni/teams","hooks_url":"https://api.github.com/repos/mozilla/zamboni/hooks","issue_events_url":"https://api.github.com/repos/mozilla/zamboni/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla/zamboni/events","assignees_url":"https://api.github.com/repos/mozilla/zamboni/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla/zamboni/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla/zamboni/tags","blobs_url":"https://api.github.com/repos/mozilla/zamboni/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla/zamboni/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla/zamboni/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla/zamboni/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla/zamboni/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla/zamboni/languages","stargazers_url":"https://api.github.com/repos/mozilla/zamboni/stargazers","contributors_url":"https://api.github.com/repos/mozilla/zamboni/contributors","subscribers_url":"https://api.github.com/repos/mozilla/zamboni/subscribers","subscription_url":"https://api.github.com/repos/mozilla/zamboni/subscription","commits_url":"https://api.github.com/repos/mozilla/zamboni/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla/zamboni/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla/zamboni/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla/zamboni/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla/zamboni/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla/zamboni/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla/zamboni/merges","archive_url":"https://api.github.com/repos/mozilla/zamboni/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla/zamboni/downloads","issues_url":"https://api.github.com/repos/mozilla/zamboni/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla/zamboni/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla/zamboni/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla/zamboni/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla/zamboni/labels{/name}","releases_url":"https://api.github.com/repos/mozilla/zamboni/releases{/id}","created_at":"2009-10-23T19:35:34Z","updated_at":"2015-07-13T23:17:15Z","pushed_at":"2015-07-20T19:51:36Z","git_url":"git://github.com/mozilla/zamboni.git","ssh_url":"git@github.com:mozilla/zamboni.git","clone_url":"https://github.com/mozilla/zamboni.git","svn_url":"https://github.com/mozilla/zamboni","homepage":"http://marketplace.readthedocs.org/en/latest/topics/backend.html","size":440799,"stargazers_count":468,"watchers_count":468,"language":"Python","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":245,"mirror_url":null,"open_issues_count":11,"forks":245,"open_issues":11,"watchers":468,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla/zamboni/pulls/3187"},"html":{"href":"https://github.com/mozilla/zamboni/pull/3187"},"issue":{"href":"https://api.github.com/repos/mozilla/zamboni/issues/3187"},"comments":{"href":"https://api.github.com/repos/mozilla/zamboni/issues/3187/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla/zamboni/pulls/3187/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla/zamboni/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mozilla/zamboni/pulls/3187/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla/zamboni/statuses/4b42de25c99990169cee4512f086d3a31f8e62ec"}}}}