jenkins-bot has submitted this change and it was merged.
Change subject: Hostname support for WikimediaDefaultSiteTestCase ......................................................................
Hostname support for WikimediaDefaultSiteTestCase
The test framework now expects a hostname for each site, so it can verify the site is working before running tests. That feature fails on WikimediaDefaultSiteTestCase, as it changes the sites object after the main initialisation code has been completed. Add the hostname manually.
Change-Id: I6abb60697dacef698daa03b684e48f8088e52255 --- M tests/aspects.py 1 file changed, 2 insertions(+), 1 deletion(-)
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/aspects.py b/tests/aspects.py index 3c1a190..8e82b55 100644 --- a/tests/aspects.py +++ b/tests/aspects.py @@ -901,7 +901,8 @@ cls.site: { 'family': 'wikipedia', 'code': 'en', - 'site': cls.site + 'site': cls.site, + 'hostname': cls.site.hostname(), } }
pywikibot-commits@lists.wikimedia.org