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

TASK DESCRIPTION
  This test is SKIPPED in travis.
  
    
tests/http_tests.py::LiveFakeUserAgentTestCase::test_fetch_with_fake_useragent 
SKIPPED
  
  After installing locally fake_useragent, test failed.
  
    python -m unittest tests.http_tests.LiveFakeUserAgentTestCase
    tests: max_retries reduced from 15 to 1
    F
    ======================================================================
    FAIL: test_fetch_with_fake_useragent 
(tests.http_tests.LiveFakeUserAgentTestCase)
    Test method with fake_useragent module.
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File "/home/user/python/core/tests/http_tests.py", line 352, in 
test_fetch_with_fake_useragent
        self._test_fetch_use_fake_user_agent()
      File "/home/user/python/core/tests/http_tests.py", line 336, in 
_test_fetch_use_fake_user_agent
        self.assertEqual(r.headers['user-agent'], http.user_agent())
    AssertionError: 'Mozilla/5.0 (Windows NT 5.1) AppleWebKit/[57 chars]7.36' 
!= 'python -m unittest Pywikibot/5.0.0.dev0 ([40 chars]al.0'
    - Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) 
Chrome/35.0.2309.372 Safari/537.36
    + python -m unittest Pywikibot/5.0.0.dev0 (g13409) requests/2.24.0 
Python/3.8.3.final.0
    
    
    ----------------------------------------------------------------------
    Ran 1 test in 3.103s
    
    FAILED (failures=1)
  
  This is almost certainly a regression of 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/634238

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

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

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

Reply via email to