Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #167 from retornam/bug840814

 Bug 840814
  • Loading branch information...
commit 5f2b64c9d5bc3a7eb9cb4e6500c5f04e895bc3df 2 parents cf4ed74 + 8d4a4be
@AlinT AlinT authored
Showing with 12 additions and 0 deletions.
  1. +12 −0 tests/test_redirect.py
View
12 tests/test_redirect.py 100644 → 100755
@@ -132,3 +132,15 @@ def test_all_older_redirect(self, mozwebqa):
url = mozwebqa.base_url + "/firefox/all-older.html"
response = requests.get(url)
Assert.contains("/firefox/new", response.url)
+
+ @pytest.mark.nondestructive
+ def test_old_firstrun_redirect(self, mozwebqa):
+ url = mozwebqa.base_url + "/en-US/projects/firefox/3.6.13/firstrun/"
+ response = requests.get(url)
+ Assert.not_equal(response.status_code, 404)
+
+ @pytest.mark.nondestructive
+ def test_old_whatsnew_redirect(self, mozwebqa):
+ url = mozwebqa.base_url + '/en-US/projects/firefox/3.6.13/whatsnew/'
+ response = requests.get(url)
+ Assert.not_equal(response.status_code, 404)
Please sign in to comment.
Something went wrong with that request. Please try again.