jenkins-bot has submitted this change and it was merged. Change subject: Use RecentChangesTestCase for two tests using RC ......................................................................
Use RecentChangesTestCase for two tests using RC RecentChangesTestCase avoids running RecentChanges related tests on sites which do not have a regular flow of RecentChanges data. Change-Id: Idf0efff747b402a7c604f5decc3c3d9fe2b49b57 --- M tests/pagegenerators_tests.py 1 file changed, 4 insertions(+), 3 deletions(-) Approvals: John Vandenberg: Looks good to me, but someone else must approve XZise: Looks good to me, approved jenkins-bot: Verified diff --git a/tests/pagegenerators_tests.py b/tests/pagegenerators_tests.py index 3f9cb4f..5c5e207 100755 --- a/tests/pagegenerators_tests.py +++ b/tests/pagegenerators_tests.py @@ -828,8 +828,8 @@ self.assertTrue(all(isinstance(item, pywikibot.Page) for item in pages)) -class PageGeneratorIntersectTestCase(DefaultSiteTestCase, - GeneratorIntersectTestCase): +class PageGeneratorIntersectTestCase(GeneratorIntersectTestCase, + RecentChangesTestCase): """Page intersect_generators test cases.""" @@ -846,7 +846,8 @@ pagegenerators.RecentChangesPageGenerator(site=site, total=200)]) -class EnglishWikipediaPageGeneratorIntersectTestCase(GeneratorIntersectTestCase): +class EnWikipediaPageGeneratorIntersectTestCase(GeneratorIntersectTestCase, + RecentChangesTestCase): """Page intersect_generators test cases.""" -- To view, visit https://gerrit.wikimedia.org/r/246805 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Idf0efff747b402a7c604f5decc3c3d9fe2b49b57 Gerrit-PatchSet: 2 Gerrit-Project: pywikibot/core Gerrit-Branch: master Gerrit-Owner: John Vandenberg <jay...@gmail.com> Gerrit-Reviewer: John Vandenberg <jay...@gmail.com> Gerrit-Reviewer: Ladsgroup <ladsgr...@gmail.com> Gerrit-Reviewer: XZise <commodorefabia...@gmx.de> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits