{"action":"created","comment":{"url":"https://api.github.com/repos/mozilla/mcom-tests/pulls/comments/29895774","id":29895774,"diff_hunk":"@@ -0,0 +1,22 @@\n+#!/usr/bin/env python\n+\n+import pytest\n+import requests\n+\n+\n+@pytest.mark.skip_selenium\n+@pytest.mark.nondestructive\n+class TestThunerbirdURLs(object):\n+\n+    paths = [\n+        '/thunderbird/all/',\n+        '/thunderbird/releases/',\n+    ]\n+\n+    def test_urls_ok(self, mozwebqa):\n+        for path in self.paths:\n+            url = mozwebqa.base_url + '/en-US' + path\n+            response = requests.get(url, timeout=3)\n+            assert len(response.history) <= 2","path":"tests/test_thunderbird_urls.py","position":20,"original_position":20,"commit_id":"76abc116301b159d17fdfc369ec41397fae69772","original_commit_id":"76abc116301b159d17fdfc369ec41397fae69772","user":{"login":"bobsilverberg","id":142755,"avatar_url":"https://avatars.githubusercontent.com/u/142755?v=3","gravatar_id":"","url":"https://api.github.com/users/bobsilverberg","html_url":"https://github.com/bobsilverberg","followers_url":"https://api.github.com/users/bobsilverberg/followers","following_url":"https://api.github.com/users/bobsilverberg/following{/other_user}","gists_url":"https://api.github.com/users/bobsilverberg/gists{/gist_id}","starred_url":"https://api.github.com/users/bobsilverberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bobsilverberg/subscriptions","organizations_url":"https://api.github.com/users/bobsilverberg/orgs","repos_url":"https://api.github.com/users/bobsilverberg/repos","events_url":"https://api.github.com/users/bobsilverberg/events{/privacy}","received_events_url":"https://api.github.com/users/bobsilverberg/received_events","type":"User","site_admin":false},"body":"We try to use the `Assert` object from `unittestzero` in our tests for assertions, rather than the native `assert`, so I suggest you do the same here for consistency.\r\n\r\nAlso, what is this test for `len(response.history) <= 2`? What exactly are we testing and why do we have that expectation?","created_at":"2015-05-07T21:03:36Z","updated_at":"2015-05-07T21:03:36Z","html_url":"https://github.com/mozilla/mcom-tests/pull/416#discussion_r29895774","pull_request_url":"https://api.github.com/repos/mozilla/mcom-tests/pulls/416","_links":{"self":{"href":"https://api.github.com/repos/mozilla/mcom-tests/pulls/comments/29895774"},"html":{"href":"https://github.com/mozilla/mcom-tests/pull/416#discussion_r29895774"},"pull_request":{"href":"https://api.github.com/repos/mozilla/mcom-tests/pulls/416"}}},"pull_request":{"url":"https://api.github.com/repos/mozilla/mcom-tests/pulls/416","id":34945131,"html_url":"https://github.com/mozilla/mcom-tests/pull/416","diff_url":"https://github.com/mozilla/mcom-tests/pull/416.diff","patch_url":"https://github.com/mozilla/mcom-tests/pull/416.patch","issue_url":"https://api.github.com/repos/mozilla/mcom-tests/issues/416","number":416,"state":"open","locked":false,"title":"Add tests for Bug 1123399 - Move Thunderbird all download page to Bedrock","user":{"login":"kyoshino","id":2929505,"avatar_url":"https://avatars.githubusercontent.com/u/2929505?v=3","gravatar_id":"","url":"https://api.github.com/users/kyoshino","html_url":"https://github.com/kyoshino","followers_url":"https://api.github.com/users/kyoshino/followers","following_url":"https://api.github.com/users/kyoshino/following{/other_user}","gists_url":"https://api.github.com/users/kyoshino/gists{/gist_id}","starred_url":"https://api.github.com/users/kyoshino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kyoshino/subscriptions","organizations_url":"https://api.github.com/users/kyoshino/orgs","repos_url":"https://api.github.com/users/kyoshino/repos","events_url":"https://api.github.com/users/kyoshino/events{/privacy}","received_events_url":"https://api.github.com/users/kyoshino/received_events","type":"User","site_admin":false},"body":"Bedrock PR: https://github.com/mozilla/bedrock/pull/2901","created_at":"2015-05-07T18:39:28Z","updated_at":"2015-05-07T21:03:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0db6388bcdc996ca2ac12a9d88f777cd5a792ebb","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mozilla/mcom-tests/pulls/416/commits","review_comments_url":"https://api.github.com/repos/mozilla/mcom-tests/pulls/416/comments","review_comment_url":"https://api.github.com/repos/mozilla/mcom-tests/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mozilla/mcom-tests/issues/416/comments","statuses_url":"https://api.github.com/repos/mozilla/mcom-tests/statuses/76abc116301b159d17fdfc369ec41397fae69772","head":{"label":"kyoshino:bug-1123399-thunderbird-all","ref":"bug-1123399-thunderbird-all","sha":"76abc116301b159d17fdfc369ec41397fae69772","user":{"login":"kyoshino","id":2929505,"avatar_url":"https://avatars.githubusercontent.com/u/2929505?v=3","gravatar_id":"","url":"https://api.github.com/users/kyoshino","html_url":"https://github.com/kyoshino","followers_url":"https://api.github.com/users/kyoshino/followers","following_url":"https://api.github.com/users/kyoshino/following{/other_user}","gists_url":"https://api.github.com/users/kyoshino/gists{/gist_id}","starred_url":"https://api.github.com/users/kyoshino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kyoshino/subscriptions","organizations_url":"https://api.github.com/users/kyoshino/orgs","repos_url":"https://api.github.com/users/kyoshino/repos","events_url":"https://api.github.com/users/kyoshino/events{/privacy}","received_events_url":"https://api.github.com/users/kyoshino/received_events","type":"User","site_admin":false},"repo":{"id":11380019,"name":"mcom-tests","full_name":"kyoshino/mcom-tests","owner":{"login":"kyoshino","id":2929505,"avatar_url":"https://avatars.githubusercontent.com/u/2929505?v=3","gravatar_id":"","url":"https://api.github.com/users/kyoshino","html_url":"https://github.com/kyoshino","followers_url":"https://api.github.com/users/kyoshino/followers","following_url":"https://api.github.com/users/kyoshino/following{/other_user}","gists_url":"https://api.github.com/users/kyoshino/gists{/gist_id}","starred_url":"https://api.github.com/users/kyoshino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kyoshino/subscriptions","organizations_url":"https://api.github.com/users/kyoshino/orgs","repos_url":"https://api.github.com/users/kyoshino/repos","events_url":"https://api.github.com/users/kyoshino/events{/privacy}","received_events_url":"https://api.github.com/users/kyoshino/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kyoshino/mcom-tests","description":"","fork":true,"url":"https://api.github.com/repos/kyoshino/mcom-tests","forks_url":"https://api.github.com/repos/kyoshino/mcom-tests/forks","keys_url":"https://api.github.com/repos/kyoshino/mcom-tests/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kyoshino/mcom-tests/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kyoshino/mcom-tests/teams","hooks_url":"https://api.github.com/repos/kyoshino/mcom-tests/hooks","issue_events_url":"https://api.github.com/repos/kyoshino/mcom-tests/issues/events{/number}","events_url":"https://api.github.com/repos/kyoshino/mcom-tests/events","assignees_url":"https://api.github.com/repos/kyoshino/mcom-tests/assignees{/user}","branches_url":"https://api.github.com/repos/kyoshino/mcom-tests/branches{/branch}","tags_url":"https://api.github.com/repos/kyoshino/mcom-tests/tags","blobs_url":"https://api.github.com/repos/kyoshino/mcom-tests/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kyoshino/mcom-tests/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kyoshino/mcom-tests/git/refs{/sha}","trees_url":"https://api.github.com/repos/kyoshino/mcom-tests/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kyoshino/mcom-tests/statuses/{sha}","languages_url":"https://api.github.com/repos/kyoshino/mcom-tests/languages","stargazers_url":"https://api.github.com/repos/kyoshino/mcom-tests/stargazers","contributors_url":"https://api.github.com/repos/kyoshino/mcom-tests/contributors","subscribers_url":"https://api.github.com/repos/kyoshino/mcom-tests/subscribers","subscription_url":"https://api.github.com/repos/kyoshino/mcom-tests/subscription","commits_url":"https://api.github.com/repos/kyoshino/mcom-tests/commits{/sha}","git_commits_url":"https://api.github.com/repos/kyoshino/mcom-tests/git/commits{/sha}","comments_url":"https://api.github.com/repos/kyoshino/mcom-tests/comments{/number}","issue_comment_url":"https://api.github.com/repos/kyoshino/mcom-tests/issues/comments{/number}","contents_url":"https://api.github.com/repos/kyoshino/mcom-tests/contents/{+path}","compare_url":"https://api.github.com/repos/kyoshino/mcom-tests/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kyoshino/mcom-tests/merges","archive_url":"https://api.github.com/repos/kyoshino/mcom-tests/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kyoshino/mcom-tests/downloads","issues_url":"https://api.github.com/repos/kyoshino/mcom-tests/issues{/number}","pulls_url":"https://api.github.com/repos/kyoshino/mcom-tests/pulls{/number}","milestones_url":"https://api.github.com/repos/kyoshino/mcom-tests/milestones{/number}","notifications_url":"https://api.github.com/repos/kyoshino/mcom-tests/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kyoshino/mcom-tests/labels{/name}","releases_url":"https://api.github.com/repos/kyoshino/mcom-tests/releases{/id}","created_at":"2013-07-12T23:23:51Z","updated_at":"2015-05-07T18:25:32Z","pushed_at":"2015-05-07T18:39:28Z","git_url":"git://github.com/kyoshino/mcom-tests.git","ssh_url":"git@github.com:kyoshino/mcom-tests.git","clone_url":"https://github.com/kyoshino/mcom-tests.git","svn_url":"https://github.com/kyoshino/mcom-tests","homepage":"","size":1021,"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":"15fbcf66c3b7a026052e843f9dbcab2b43f123e9","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":1613982,"name":"mcom-tests","full_name":"mozilla/mcom-tests","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/mcom-tests","description":"","fork":false,"url":"https://api.github.com/repos/mozilla/mcom-tests","forks_url":"https://api.github.com/repos/mozilla/mcom-tests/forks","keys_url":"https://api.github.com/repos/mozilla/mcom-tests/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla/mcom-tests/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla/mcom-tests/teams","hooks_url":"https://api.github.com/repos/mozilla/mcom-tests/hooks","issue_events_url":"https://api.github.com/repos/mozilla/mcom-tests/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla/mcom-tests/events","assignees_url":"https://api.github.com/repos/mozilla/mcom-tests/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla/mcom-tests/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla/mcom-tests/tags","blobs_url":"https://api.github.com/repos/mozilla/mcom-tests/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla/mcom-tests/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla/mcom-tests/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla/mcom-tests/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla/mcom-tests/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla/mcom-tests/languages","stargazers_url":"https://api.github.com/repos/mozilla/mcom-tests/stargazers","contributors_url":"https://api.github.com/repos/mozilla/mcom-tests/contributors","subscribers_url":"https://api.github.com/repos/mozilla/mcom-tests/subscribers","subscription_url":"https://api.github.com/repos/mozilla/mcom-tests/subscription","commits_url":"https://api.github.com/repos/mozilla/mcom-tests/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla/mcom-tests/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla/mcom-tests/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla/mcom-tests/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla/mcom-tests/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla/mcom-tests/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla/mcom-tests/merges","archive_url":"https://api.github.com/repos/mozilla/mcom-tests/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla/mcom-tests/downloads","issues_url":"https://api.github.com/repos/mozilla/mcom-tests/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla/mcom-tests/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla/mcom-tests/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla/mcom-tests/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla/mcom-tests/labels{/name}","releases_url":"https://api.github.com/repos/mozilla/mcom-tests/releases{/id}","created_at":"2011-04-14T12:24:33Z","updated_at":"2015-05-07T15:52:58Z","pushed_at":"2015-05-07T18:39:28Z","git_url":"git://github.com/mozilla/mcom-tests.git","ssh_url":"git@github.com:mozilla/mcom-tests.git","clone_url":"https://github.com/mozilla/mcom-tests.git","svn_url":"https://github.com/mozilla/mcom-tests","homepage":"","size":2227,"stargazers_count":26,"watchers_count":26,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":83,"mirror_url":null,"open_issues_count":8,"forks":83,"open_issues":8,"watchers":26,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla/mcom-tests/pulls/416"},"html":{"href":"https://github.com/mozilla/mcom-tests/pull/416"},"issue":{"href":"https://api.github.com/repos/mozilla/mcom-tests/issues/416"},"comments":{"href":"https://api.github.com/repos/mozilla/mcom-tests/issues/416/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla/mcom-tests/pulls/416/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla/mcom-tests/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mozilla/mcom-tests/pulls/416/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla/mcom-tests/statuses/76abc116301b159d17fdfc369ec41397fae69772"}}}}