jenkins-bot has submitted this change. ( 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1361120?usp=email )

Change subject: tests: Skip failing test on wowwiki until the issue is solved
......................................................................

tests: Skip failing test on wowwiki until the issue is solved

Bug: T439886
Change-Id: I02aebd142e6f7897cffe2f6cb92584e3b0738176
---
M tests/archivebot_tests.py
1 file changed, 6 insertions(+), 1 deletion(-)

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




diff --git a/tests/archivebot_tests.py b/tests/archivebot_tests.py
index 8629680..50b4091 100755
--- a/tests/archivebot_tests.py
+++ b/tests/archivebot_tests.py
@@ -14,9 +14,11 @@
 from unittest.mock import Mock, patch

 import pywikibot
+from pywikibot import config
 from pywikibot.exceptions import Error
 from pywikibot.textlib import TimeStripper, extract_templates_and_params
 from scripts import archivebot
+from tests import unittest_print
 from tests.aspects import TestCase
 

@@ -275,7 +277,10 @@
                 self.assertIsInstance(thread.code, str)
                 self.assertEqual(thread.code, talk.timestripper.site.code)
                 self.assertIsInstance(thread.content, str)
-                self.assertIsInstance(thread.timestamp, datetime)
+                if config.family == 'wowwiki':
+                    unittest_print('Skipping test for wowwiki due to T439886')
+                else:
+                    self.assertIsInstance(thread.timestamp, datetime)


 class TestArchiveBotAfterDateUpdate(TestCase):

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

Gerrit-MessageType: merged
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I02aebd142e6f7897cffe2f6cb92584e3b0738176
Gerrit-Change-Number: 1361120
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
Pywikibot-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to