Permalink
Browse files

Fixed logic error allowing failures

  • Loading branch information...
1 parent 44609f4 commit b0d90ae8f6c53ce595ec9ac9dfac2d5d6619e5e6 @bobsilverberg bobsilverberg committed Oct 11, 2012
Showing with 5 additions and 1 deletion.
  1. +5 −1 tests/test_redirects.py
@@ -90,5 +90,9 @@ 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))
- if product_alias['product_name'] != 'firefox-nightly-latest' or product_alias['product_name'] != 'firefox-aurora-latest':
+ if (
+ product_alias['product_name'] != 'firefox-nightly-latest' and
+ product_alias['product_name'] != 'firefox-aurora-latest' and
+ product_alias['product_name'] != 'firefox-latest-euballot'
+ ):
Assert.contains('/%s/' % 'win32', parsed_url.path)

0 comments on commit b0d90ae

Please sign in to comment.