Xqt created this task.
Xqt added projects: Pywikibot, Pywikibot-tests.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION
RequireLoginMixin should never fail during tearDown(). Login/Logout should be
tested inside the related test method but not inside the mixin.
======================================================================
FAIL: test_login_logout (tests.site_login_logout_tests.TestLoginLogout)
Validate login and logout methods by toggling the state.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/runner/work/pywikibot/pywikibot/tests/aspects.py", line 596,
in tearDown
self._reset_login()
File "/home/runner/work/pywikibot/pywikibot/tests/aspects.py", line 611,
in _reset_login
assert site.user()
AssertionError
TASK DETAIL
https://phabricator.wikimedia.org/T301545
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Xqt
Cc: Aklapper, pywikibot-bugs-list, Xqt, Jyoo1011, JohnsonLee01, SHEKH,
Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89,
Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista
_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]