jenkins-bot has submitted this change and it was merged.
Change subject: Temporary logger in SocketIO tests ......................................................................
Temporary logger in SocketIO tests
This is temporary until we have a better log repeater
Change-Id: Ib3aedb2b111fb67b96d063903291485ff97fb90d --- M tests/pagegenerators_tests.py 1 file changed, 7 insertions(+), 0 deletions(-)
Approvals: XZise: Looks good to me, approved jenkins-bot: Verified
diff --git a/tests/pagegenerators_tests.py b/tests/pagegenerators_tests.py index 7ffe7a1..1bbecab 100755 --- a/tests/pagegenerators_tests.py +++ b/tests/pagegenerators_tests.py @@ -669,6 +669,13 @@ raise unittest.SkipTest('socketIO_client not available')
def test_RC_pagegenerator_result(self): + import logging + lgr = logging.getLogger('socketIO_client') + lgr.setLevel(logging.DEBUG) + ch = logging.StreamHandler() + ch.setLevel(logging.DEBUG) + lgr.addHandler(ch) + site = self.get_site() pagegenerator = pagegenerators.LiveRCPageGenerator(site, total=self.length)
pywikibot-commits@lists.wikimedia.org