jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/815300 )
Change subject: Harmonize name of harvest_templates_tests.py ......................................................................
Harmonize name of harvest_templates_tests.py
To be consistent with the script name.
Change-Id: Ice9b3b94628b92b731dbc61a2db4c68089f48ea7 --- A docs/tests_ref/harvest_template_tests.rst D docs/tests_ref/harvest_templates_tests.rst M docs/tests_ref/index.rst M scripts/CHANGELOG.rst M tests/__init__.py R tests/harvest_template_tests.py 6 files changed, 13 insertions(+), 13 deletions(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/docs/tests_ref/harvest_template_tests.rst b/docs/tests_ref/harvest_template_tests.rst new file mode 100644 index 0000000..5f57d16 --- /dev/null +++ b/docs/tests_ref/harvest_template_tests.rst @@ -0,0 +1,7 @@ +tests.harvest_template_tests module +====================================== + +.. automodule:: tests.harvest_template_tests + :members: + :undoc-members: + :show-inheritance: diff --git a/docs/tests_ref/harvest_templates_tests.rst b/docs/tests_ref/harvest_templates_tests.rst deleted file mode 100644 index 873c7a3..0000000 --- a/docs/tests_ref/harvest_templates_tests.rst +++ /dev/null @@ -1,7 +0,0 @@ -tests.harvest_templates_tests module -====================================== - -.. automodule:: tests.harvest_templates_tests - :members: - :undoc-members: - :show-inheritance: diff --git a/docs/tests_ref/index.rst b/docs/tests_ref/index.rst index 6097141..7fe3c74 100644 --- a/docs/tests_ref/index.rst +++ b/docs/tests_ref/index.rst @@ -102,7 +102,7 @@ fixing_redirects<./fixing_redirects_tests> generate_family_file<./generate_family_file_tests> generate_user_files<./generate_user_files_tests> - harvest_templates<./harvest_templates_tests> + harvest_template<./harvest_template_tests> interwikidata<./interwikidata_tests> noreferences<./noreferences_tests> patrolbot<./patrolbot_tests> diff --git a/scripts/CHANGELOG.rst b/scripts/CHANGELOG.rst index 91b1d3d..88b4b02 100644 --- a/scripts/CHANGELOG.rst +++ b/scripts/CHANGELOG.rst @@ -6,8 +6,8 @@
*current release*
-harvest_templates -~~~~~~~~~~~~~~~~~ +harvest_template +~~~~~~~~~~~~~~~~
* Add ``-inverse`` option for inverse claims (:phab:`T173238`) * Only follow redirects in harvest_template.py if no wikibase item @@ -23,8 +23,8 @@
* Fix for -createonly option (:phab:`T311173`)
-harvest_templates -~~~~~~~~~~~~~~~~~ +harvest_template +~~~~~~~~~~~~~~~~
* Add -confirm option which sets ‘always’ option to False (:phab:`T310356`) diff --git a/tests/__init__.py b/tests/__init__.py index a7f0014..82303c3 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -148,7 +148,7 @@ 'fixing_redirects', 'generate_family_file', 'generate_user_files', - 'harvest_templates', + 'harvest_template', 'interwikidata', 'l10n', 'patrolbot', diff --git a/tests/harvest_templates_tests.py b/tests/harvest_template_tests.py similarity index 100% rename from tests/harvest_templates_tests.py rename to tests/harvest_template_tests.py