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(),
                 }
             }
 

-- 
To view, visit https://gerrit.wikimedia.org/r/180031
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I6abb60697dacef698daa03b684e48f8088e52255
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: John Vandenberg <[email protected]>
Gerrit-Reviewer: John Vandenberg <[email protected]>
Gerrit-Reviewer: Ladsgroup <[email protected]>
Gerrit-Reviewer: Merlijn van Deen <[email protected]>
Gerrit-Reviewer: XZise <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to