Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #27 from retornam/remove_redirect_19.0.1

removing 19.0.1 redirect checks
  • Loading branch information...
commit a585001d4a299a0bc87b6e2bc7bc438e046ed472 2 parents b669c59 + 3f35079
@stephendonner stephendonner authored
Showing with 0 additions and 31 deletions.
  1. +0 −31 tests/test_redirects.py
View
31 tests/test_redirects.py
@@ -116,35 +116,4 @@ def test_redirect_for_firefox_aliases(self, testsetup, product_alias):
product_alias['product_name'] != 'firefox-latest-euballot'
):
Assert.contains('/%s/' % 'win32', parsed_url.path)
-
- def test_redirect_for_windows_to_version19(self, testsetup):
- url = testsetup.base_url
- param = {
- 'product': 'firefox-19.0',
- 'os': 'win',
- 'lang': 'en-US',
- }
-
- response = self._head_request(url, params=param)
-
- parsed_url = urlparse(response.url)
-
- Assert.true('19.0' in parsed_url.path, 'Redirect failed using params of %s' % (parsed_url.path))
-
- def test_redirect_special_for_win8_os(self, testsetup):
- url = testsetup.base_url
- param = {
- 'product': 'firefox-19.0',
- 'os': 'win',
- 'lang': 'en-US',
- }
-
- user_agent_string = 'Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; Trident/6.0)';
-
- response = self._head_request(url, params=param, user_agent = user_agent_string)
-
- parsed_url = urlparse(response.url)
-
- Assert.true('19.0.1' in parsed_url.path, 'Redirect failed using params of %s' % (parsed_url.path))
-
Please sign in to comment.
Something went wrong with that request. Please try again.