Permalink
Browse files

Adding redirect check for /b2g to /partners

  • Loading branch information...
1 parent 5f2b64c commit 32d49b91c3e1af7b7e8f53e2bb134033828a7856 @retornam retornam committed Mar 13, 2013
Showing with 7 additions and 0 deletions.
  1. +7 −0 tests/test_redirect.py
View
@@ -144,3 +144,10 @@ 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)
+
+ @pytest.mark.nondestructive
+ def test_partners_redirect(self, mozwebqa):
+ url = mozwebqa.base_url + '/b2g/'
+ response = requests.get(url)
+ Assert.contains('/partners/', response.url)
+

0 comments on commit 32d49b9

Please sign in to comment.