jenkins-bot has submitted this change and it was merged.
Change subject: Rename IP module tests
..
Rename IP module tests
Also add tools_chars_tests to mandatory docstring
tox rule, and to Sphinx documentation.
Change-Id: Ic7c2afc165473eef7f30d330d996dc6cc0c036de
---
M docs/api_ref/tests/index.rst
D docs/api_ref/tests/ipregex_tests.rst
A docs/api_ref/tests/tools_chars_tests.rst
A docs/api_ref/tests/tools_ip_tests.rst
M tests/__init__.py
R tests/tools_ip_tests.py
M tox.ini
7 files changed, 28 insertions(+), 15 deletions(-)
Approvals:
XZise: Looks good to me, approved
jenkins-bot: Verified
diff --git a/docs/api_ref/tests/index.rst b/docs/api_ref/tests/index.rst
index f411dd1..5d61fd7 100644
--- a/docs/api_ref/tests/index.rst
+++ b/docs/api_ref/tests/index.rst
@@ -11,7 +11,8 @@
thread<./thread_tests>
date<./date_tests>
mediawikiversion<./mediawikiversion_tests>
-ipregex<./ipregex_tests>
+tools_chars<./tools_chars_tests>
+tools_ip<./tools_ip_tests>
xmlreader<./xmlreader_tests>
textlib<./textlib_tests>
http<./http_tests>
diff --git a/docs/api_ref/tests/ipregex_tests.rst
b/docs/api_ref/tests/ipregex_tests.rst
deleted file mode 100644
index 4bbad76..000
--- a/docs/api_ref/tests/ipregex_tests.rst
+++ /dev/null
@@ -1,12 +0,0 @@
-=
-ipregex_tests
-=
-Tests in ``tests.ipregex_tests``:
-
-Available tests
-.. autoclass:: tests.ipregex_tests.IPRegexTestCase
-:members:
-.. autoclass:: tests.ipregex_tests.IPAddressModuleTestCase
-:members:
diff --git a/docs/api_ref/tests/tools_chars_tests.rst
b/docs/api_ref/tests/tools_chars_tests.rst
new file mode 100644
index 000..e305657
--- /dev/null
+++ b/docs/api_ref/tests/tools_chars_tests.rst
@@ -0,0 +1,10 @@
+=
+tools_chars_tests
+=
+Tests in ``tests.tools_chars_tests``:
+
+---
+Available tests
+---
+.. autoclass:: tests.tools_chars_tests.CharsTestCase
+:members:
diff --git a/docs/api_ref/tests/tools_ip_tests.rst
b/docs/api_ref/tests/tools_ip_tests.rst
new file mode 100644
index 000..7a2a81f
--- /dev/null
+++ b/docs/api_ref/tests/tools_ip_tests.rst
@@ -0,0 +1,12 @@
+=
+tools_ip_tests
+=
+Tests in ``tests.tools_ip_tests``:
+
+---
+Available tests
+---
+.. autoclass:: tests.tools_ip_tests.IPRegexTestCase
+:members:
+.. autoclass:: tests.tools_ip_tests.IPAddressModuleTestCase
+:members:
diff --git a/tests/__init__.py b/tests/__init__.py
index 9f43a5b..df4e368 100644
--- a/tests/__init__.py
+++ b/tests/__init__.py
@@ -54,7 +54,8 @@
'tests',
'date',
'mediawikiversion',
-'ipregex',
+'tools_chars',
+'tools_ip',
'xmlreader',
'textlib',
'http',
diff --git a/tests/ipregex_tests.py b/tests/tools_ip_tests.py
similarity index 100%
rename from tests/ipregex_tests.py
rename to tests/tools_ip_tests.py
diff --git a/tox.ini b/tox.ini
index ebfd765..2650718 100644
--- a/tox.ini
+++ b/tox.ini
@@ -124,11 +124,12 @@
tests/l10n_tests.py \
tests/link_tests.py \
tests/interwiki_graph_tests.py \
-tests/ipregex_tests.py \
tests/pwb/ \
tests/pwb_tests.py \
tests/script_tests.py \
tests/timestripper_tests.py \
+tests/tools_chars_tests.py \
+tests/tools_ip_tests.py \
tests/tools_tests.py \
tests/upload_tests.py \
tests/wikidataquery_tests.py
--
To view, visit https://gerrit.wikimedia.org/r/224058
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ic7c2afc165473eef7f30d330d996dc6cc0c036de
Gerrit-PatchSet: 4
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: John Vandenberg
Gerrit-Reviewer: John Vandenberg
Gerrit-Reviewer: Ladsgroup
Gerrit-Reviewer: Merlijn van Deen
Gerrit-Reviewer: XZise
Gerrit-Reviewer: jenkins-bot <>
___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits