Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- =================================== FAILURES ===================================
- ______________________ TestRedirects.test_aurora_redirect ______________________
- [gw14] darwin -- Python 2.7.2 /Users/Shared/Jenkins/Home/jobs/mozilla.com.prod.saucelabs/workspace/.env/bin/python
- self = <tests.test_redirect.TestRedirects object at 0x105260690>
- mozwebqa = <pytest_mozwebqa.pytest_mozwebqa.TestSetup instance at 0x1051435a8>
- @pytest.mark.nondestructive
- def test_aurora_redirect(self, mozwebqa):
- """
- Test aurora.mozilla.org redirects to
- http://www.mozilla.org/firefox/channel/#aurora
- """
- url = 'http://aurora.mozilla.org'
- response = requests.get(url)
- Assert.equal(response.history[-1].headers['location'],
- > 'http://www.mozilla.org/en-US/firefox/channel/#aurora')
- tests/test_redirect.py:199:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- self = <class unittestzero.Assert at 0x104dfea10>
- first = 'http://www.mozilla.org/en-US/firefox/channel/'
- second = 'http://www.mozilla.org/en-US/firefox/channel/#aurora', msg = None
- @classmethod
- def equal(self, first, second, msg=None):
- """
- Asserts that 2 elements are the same
- :Args:
- - First object to be tested
- - Second object to be tested
- - Message that will be printed if it fails
- """
- > assert first == second, msg
- E assert 'http://www.m...efox/channel/' == 'http://www.mo...annel/#aurora'
- E - http://www.mozilla.org/en-US/firefox/channel/
- E + http://www.mozilla.org/en-US/firefox/channel/#aurora
- E ? +++++++
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement