jenkins-bot has submitted this change. ( 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/667319 )

Change subject: [tests] require sseclient module with 
eventstreams_tests.TestEventSource
......................................................................

[tests] require sseclient module with eventstreams_tests.TestEventSource

Change-Id: I218a39d15d89b372e14954f7c417eef1bc3cc5c3
---
M tests/eventstreams_tests.py
1 file changed, 2 insertions(+), 1 deletion(-)

Approvals:
  Xqt: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/tests/eventstreams_tests.py b/tests/eventstreams_tests.py
index e37dcd7..c1686ba 100644
--- a/tests/eventstreams_tests.py
+++ b/tests/eventstreams_tests.py
@@ -15,7 +15,7 @@
 from pywikibot import config
 from pywikibot.family import WikimediaFamily

-from tests.aspects import TestCase, DefaultSiteTestCase
+from tests.aspects import TestCase, DefaultSiteTestCase, require_modules


 @mock.patch('pywikibot.comms.eventstreams.EventSource', new=mock.MagicMock())
@@ -288,6 +288,7 @@
         del self.source


+@require_modules('sseclient')
 class TestEventSource(TestCase):

     """Test sseclient.EventSource."""

--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/667319
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.wikimedia.org/r/settings

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I218a39d15d89b372e14954f7c417eef1bc3cc5c3
Gerrit-Change-Number: 667319
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged
_______________________________________________
Pywikibot-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-commits

Reply via email to