Xqt submitted this change.

View Change

Approvals: Xqt: Verified; Looks good to me, approved
[coverage] Ignore UI status from coverage

Change-Id: I7506e631f57e900364b27a89470b3f2c2bd7fa93
---
M pywikibot/data/api/_login.py
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pywikibot/data/api/_login.py b/pywikibot/data/api/_login.py
index b78dc53..09a318d 100644
--- a/pywikibot/data/api/_login.py
+++ b/pywikibot/data/api/_login.py
@@ -130,7 +130,7 @@
self.keyword('token')] = self.site.tokens['login']
continue

- if status == 'UI':
+ if status == 'UI': # pragma: no cover
oathtoken = pywikibot.input(response['message'], password=True)
login_request['OATHToken'] = oathtoken
login_request['logincontinue'] = True

To view, visit change 854060. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I7506e631f57e900364b27a89470b3f2c2bd7fa93
Gerrit-Change-Number: 854060
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <info@gno.de>
Gerrit-Reviewer: Xqt <info@gno.de>
Gerrit-MessageType: merged