jenkins-bot has submitted this change and it was merged.
Change subject: [FIX] Script test for states_redirect
......................................................................
[FIX] Script test for states_redirect
The newly added states_redirect script is an autorun script and requires
pycountry.
Change-Id: I35ee7f9996254e540df7a0152e451f34348fb3b3
---
M setup.py
M tests/script_tests.py
2 files changed, 4 insertions(+), 0 deletions(-)
Approvals:
Nullzero: Looks good to me, approved
jenkins-bot: Verified
diff --git a/setup.py b/setup.py
index abc1e6b..4fdacda 100644
--- a/setup.py
+++ b/setup.py
@@ -33,6 +33,7 @@
'flickrripper.py': ['Pillow', 'flickrapi'],
# Note: 'PIL' is not available via pip2.7 on MS Windows,
# however it is available with setuptools.
+ 'states_redirect.py': ['pycountry']
}
dependency_links = [
diff --git a/tests/script_tests.py b/tests/script_tests.py
index 8254bef..dcd3f3e 100644
--- a/tests/script_tests.py
+++ b/tests/script_tests.py
@@ -29,6 +29,8 @@
'flickrripper': ['PIL.ImageTk', 'flickrapi'],
# Note: 'PIL' is not available via pip2.7 on MS Windows,
# however it is available with setuptools.
+
+ 'states_redirect': ['pycountry'],
}
if sys.version_info < (2, 7):
script_deps['replicate_wiki'] = ['argparse']
@@ -104,6 +106,7 @@
'nowcommons',
'script_wui',
'shell',
+ 'states_redirect',
'unusedfiles',
'upload',
'watchlist',
--
To view, visit https://gerrit.wikimedia.org/r/171760
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I35ee7f9996254e540df7a0152e451f34348fb3b3
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: XZise <[email protected]>
Gerrit-Reviewer: John Vandenberg <[email protected]>
Gerrit-Reviewer: Ladsgroup <[email protected]>
Gerrit-Reviewer: Merlijn van Deen <[email protected]>
Gerrit-Reviewer: Nullzero <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
Pywikibot-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-commits