John Vandenberg has uploaded a new change for review. https://gerrit.wikimedia.org/r/142508
Change subject: Use test.wikidata as travis default site ...................................................................... Use test.wikidata as travis default site Unit tests should not depend on config default site in order to function correctly. This change ensures that any tests which do depend on the config default site are identified and fixed quickly. The default needs to be a WMF wiki, and wikidata is the most different to the other WMF families as namespace 0 is not wikitext, which should help break tests which are assuming a default site of Wikipedia. Change-Id: Iad16d81f5e993ee320a4b56f670baf5649d16f93 --- M .travis.yml 1 file changed, 3 insertions(+), 3 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/pywikibot/core refs/changes/08/142508/1 diff --git a/.travis.yml b/.travis.yml index 9a89d86..2b8b3a1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,9 +9,9 @@ - touch ~/.pywikibot/user-config.py - echo "import os" >> ~/.pywikibot/user-config.py - - echo "mylang = 'en'" >> ~/.pywikibot/user-config.py - - echo "family = 'wikipedia'" >> ~/.pywikibot/user-config.py - - echo "usernames['wikipedia']['en'] = 'Pywikibot-test'" >> ~/.pywikibot/user-config.py + - echo "mylang = 'test'" >> ~/.pywikibot/user-config.py + - echo "family = 'wikidata'" >> ~/.pywikibot/user-config.py + - echo "usernames['wikidata']['test'] = 'Pywikibot-test'" >> ~/.pywikibot/user-config.py - echo "password_file = os.path.expanduser('~/.pywikibot/passwordfile')" >> ~/.pywikibot/user-config.py - touch ~/.pywikibot/passwordfile -- To view, visit https://gerrit.wikimedia.org/r/142508 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Iad16d81f5e993ee320a4b56f670baf5649d16f93 Gerrit-PatchSet: 1 Gerrit-Project: pywikibot/core Gerrit-Branch: master Gerrit-Owner: John Vandenberg <jay...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits