def test_urls(self): """Should return a fully qualified URL including a protocol""" expected = 'https://www.mozilla.org/en-US/firefox/new/' eq_(absolute_url('/en-US/firefox/new/'), expected) eq_(absolute_url('//www.mozilla.org/en-US/firefox/new/'), expected) eq_(absolute_url('https://www.mozilla.org/en-US/firefox/new/'), expected)