Permalink
Browse files

Merge pull request #255 from retornam/removeapps

Adding redirect test for /apps
  • Loading branch information...
2 parents e25215f + 7bfe587 commit 69367d555af70141183d97d96e4ca91bc59b9496 @jgmize jgmize committed Dec 3, 2013
Showing with 11 additions and 0 deletions.
  1. +11 −0 tests/test_redirect.py
View
@@ -190,3 +190,14 @@ def test_beta_redirect(self, mozwebqa):
response = requests.get(url)
Assert.contains('/en-US/firefox/channel', response.url)
Assert.equal(200, response.status_code)
+
+ @pytest.mark.nondestructive
+ def test_apps_redirect(self, mozwebqa):
+ """
+ Test mozilla.org/apps redirects to
+ http[s]://marketplace.firefox.com
+ """
+ url = mozwebqa.base_url + '/apps'
+ response = requests.get(url)
+ Assert.contains('marketplace.firefox.com', response.url)
+ Assert.equal(200, response.status_code)

0 comments on commit 69367d5

Please sign in to comment.