John Vandenberg has uploaded a new change for review.
https://gerrit.wikimedia.org/r/160513
Change subject: Remove test dependency on sigs on de:user_talk:xqt
......................................................................
Remove test dependency on sigs on de:user_talk:xqt
archivebot tests depend on the page 'user_talk:xqt' on many
different wikipedia sites, to verfiy it can parse a normal talk page,
in many languages.
de:user_talk:xqt occasionally has unsigned comments that cause the
archivebot tests to fail. Rather than weaken the archivebot tests
in all languages to allow threads without signatures and therefore undated,
this change allows only de:user_talk:xqt to have unsigned comments.
Bug: 67663
Change-Id: I73e4cc8368f286d7ff252e4ee971059b84733dea
---
M tests/archivebot_tests.py
1 file changed, 2 insertions(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/pywikibot/core
refs/changes/13/160513/1
diff --git a/tests/archivebot_tests.py b/tests/archivebot_tests.py
index abe42aa..4763746 100644
--- a/tests/archivebot_tests.py
+++ b/tests/archivebot_tests.py
@@ -65,7 +65,8 @@
self.assertIsInstance(thread.code, basestring)
self.assertEqual(thread.code, talk.timestripper.site.code)
self.assertIsInstance(thread.content, basestring)
- self.assertIsInstance(thread.timestamp, datetime)
+ if code != 'de': # bug 67663
+ self.assertIsInstance(thread.timestamp, datetime)
expected_failures = ['ar', 'ckb', 'fa', 'pdc', 'th']
# expected failures - should be fixed
--
To view, visit https://gerrit.wikimedia.org/r/160513
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I73e4cc8368f286d7ff252e4ee971059b84733dea
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: John Vandenberg <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits