jenkins-bot merged this change.

View Change

Approvals: Dvorapa: Looks good to me, approved jenkins-bot: Verified
Skip TestLoginLogout if it is running on Appveyor

APPVEYOR environment variable may be 'True' or 'true'

Bug: T222508
Change-Id: I38e8af3921815ae45d8912bfa35f59fcd9a1b36f
---
M tests/site_tests.py
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/site_tests.py b/tests/site_tests.py
index 2db780d..77b572f 100644
--- a/tests/site_tests.py
+++ b/tests/site_tests.py
@@ -3707,7 +3707,7 @@

"""Test for login and logout methods."""

- @unittest.skipIf(os.environ.get('APPVEYOR', 'false') == 'true',
+ @unittest.skipIf(os.environ.get('APPVEYOR', 'false') in ('true', 'True'),
'No user defined for APPVEYOR tests')
def test_login_logout(self):
"""Validate login and logout methods by toggling the state."""

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

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I38e8af3921815ae45d8912bfa35f59fcd9a1b36f
Gerrit-Change-Number: 510520
Gerrit-PatchSet: 3
Gerrit-Owner: Xqt <info@gno.de>
Gerrit-Reviewer: Dvorapa <dvorapa@seznam.cz>
Gerrit-Reviewer: John Vandenberg <jayvdb@gmail.com>
Gerrit-Reviewer: Xqt <info@gno.de>
Gerrit-Reviewer: jenkins-bot (75)