Permalink
Browse files

adding if statement to exclude nightly & aurora from win32 check.

  • Loading branch information...
glennhoward committed Oct 11, 2012
1 parent 04c7204 commit 44609f43df6ec8c77ca7067c336fdb8ea870c3e4
Showing with 2 additions and 1 deletion.
  1. +2 −1 tests/test_redirects.py
View
@@ -90,4 +90,5 @@ def test_redirect_for_firefox_aliases(self, testsetup, product_alias):
Assert.equal(response.status_code, requests.codes.ok, 'Failed on %s \nUsing %s' % (url, param))
Assert.equal(parsed_url.scheme, 'http', 'Failed on %s \nUsing %s' % (url, param))
Assert.equal(parsed_url.netloc, 'download.cdn.mozilla.net', 'Failed on %s \nUsing %s' % (url, param))
- Assert.contains('/%s/' % 'win32', parsed_url.path)
+ if product_alias['product_name'] != 'firefox-nightly-latest' or product_alias['product_name'] != 'firefox-aurora-latest':
+ Assert.contains('/%s/' % 'win32', parsed_url.path)

0 comments on commit 44609f4

Please sign in to comment.