Xqt created this task.
Xqt added a project: Pywikibot-tests.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
Restricted Application added a project: Pywikibot.

TASK DESCRIPTION
    =================================== FAILURES 
===================================
    _____________________ TestHttpStatus.test_follow_redirects 
_____________________
    
    self = <tests.http_tests.TestHttpStatus testMethod=test_follow_redirects>
    
        def test_follow_redirects(self):
            """Test follow 301 redirects correctly."""
            # The following will redirect from ' ' -> '_', and maybe to https://
            r = http.fetch(uri='http://en.wikipedia.org/wiki/Main%20Page')
            self.assertEqual(r.status, 200)
            self.assertIsNotNone(r.data.history)
            self.assertIn('//en.wikipedia.org/wiki/Main_Page',
                          r.data.url)
        
            r = http.fetch(uri='http://www.gandi.eu')
            self.assertEqual(r.status, 200)
            self.assertEqual(r.data.url,
    >                        'https://www.gandi.net/en')
    E       AssertionError: u'https://www.gandi.net/en-US' != 
u'https://www.gandi.net/en'
    E       - https://www.gandi.net/en-US
    E       ?                         ---
    E       + https://www.gandi.net/en

TASK DETAIL
  https://phabricator.wikimedia.org/T240067

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Xqt
Cc: Aklapper, pywikibot-bugs-list, Xqt, AndreasTraut, Zkhalido, Viztor, 
DannyS712, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, 
Avicennasis, mys_721tx, jayvdb, Dalba, Masti, Alchimista, Rxy
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to