mozilla/sumo-tests — pull request #62 by stephendonner (2012-02-29 19:53:42+00:00)
Title: See the latest logs for sumo.release; this should fix the single redirect case that's failing due to a URL change

Traceback (most recent call last):
File "tests/desktop/test_rewrites.py", line 279, in test_redirect_misc
self.assert_(expectedStr in actual_url)

The URL has changed; I've updated the comment too.

Basically, we used to do:

http://support.allizom.org/1/mobile/4.0/android/en-US/firefox-help ->
http://www.mozilla.com/en-US/m/support/

But we now do:

[11:53:31.313] GET http://support.allizom.org/1/mobile/4.0/android/en-US/firefox-help [HTTP/1.1 302 FOUND 68ms]
[11:53:31.385] GET http://support.allizom.org/en-US/mobile?as=u [HTTP/1.1 200 OK 98ms]