jenkins-bot has submitted this change and it was merged. (
https://gerrit.wikimedia.org/r/568510 )
Change subject: [tests] Use wikipedia family for testwiki
......................................................................
[tests] Use wikipedia family for testwiki
Change-Id: If778fba17781f09af5797b8823b36df77ec3f441
---
M tests/data_ingestion_tests.py
M tests/deletionbot_tests.py
M tests/edit_tests.py
M tests/flow_edit_tests.py
M tests/flow_tests.py
M tests/flow_thanks_tests.py
M tests/page_tests.py
M tests/pagegenerators_tests.py
M tests/protectbot_tests.py
M tests/replacebot_tests.py
M tests/site_tests.py
M tests/thanks_tests.py
12 files changed, 29 insertions(+), 29 deletions(-)
Approvals:
Xqt: Looks good to me, approved
jenkins-bot: Verified
diff --git a/tests/data_ingestion_tests.py b/tests/data_ingestion_tests.py
index f9e026e..919dbd9 100644
--- a/tests/data_ingestion_tests.py
+++ b/tests/data_ingestion_tests.py
@@ -118,7 +118,7 @@
"""Test TestDataIngestionBot class."""
- family = 'test'
+ family = 'wikipedia'
code = 'test'
def test_existing_file(self):
diff --git a/tests/deletionbot_tests.py b/tests/deletionbot_tests.py
index 1e433c7..3a46f67 100644
--- a/tests/deletionbot_tests.py
+++ b/tests/deletionbot_tests.py
@@ -19,7 +19,7 @@
"""Test deletionbot script."""
- family = 'test'
+ family = 'wikipedia'
code = 'test'
sysop = True
@@ -52,7 +52,7 @@
"""Test deletionbot as a user (not sysop)."""
- family = 'test'
+ family = 'wikipedia'
code = 'test'
user = True
@@ -80,7 +80,7 @@
"""Test deletionbot with patching to make it
non-write."""
- family = 'test'
+ family = 'wikipedia'
code = 'test'
cached = True
diff --git a/tests/edit_tests.py b/tests/edit_tests.py
index b29ee64..403cbf0 100644
--- a/tests/edit_tests.py
+++ b/tests/edit_tests.py
@@ -24,7 +24,7 @@
"""Run general write tests."""
- family = 'test'
+ family = 'wikipedia'
code = 'test'
user = True
@@ -74,7 +74,7 @@
class TestSiteMergeHistory(TestCase):
"""Test history merge action."""
- family = 'test'
+ family = 'wikipedia'
code = 'test'
write = True
diff --git a/tests/flow_edit_tests.py b/tests/flow_edit_tests.py
index 4d08b5b..330499a 100644
--- a/tests/flow_edit_tests.py
+++ b/tests/flow_edit_tests.py
@@ -19,7 +19,7 @@
"""Test the creation of Flow topics."""
- family = 'test'
+ family = 'wikipedia'
code = 'test'
user = True
@@ -42,7 +42,7 @@
"""Test replying to existing posts."""
- family = 'test'
+ family = 'wikipedia'
code = 'test'
user = True
@@ -159,7 +159,7 @@
"""Locking and unlocking topics."""
- family = 'test'
+ family = 'wikipedia'
code = 'test'
user = True
@@ -184,7 +184,7 @@
"""Hiding topics and posts."""
- family = 'test'
+ family = 'wikipedia'
code = 'test'
user = True
@@ -224,7 +224,7 @@
"""Deleting topics and posts."""
- family = 'test'
+ family = 'wikipedia'
code = 'test'
user = True
@@ -265,7 +265,7 @@
"""Suppressing topics and posts."""
- family = 'test'
+ family = 'wikipedia'
code = 'test'
user = True
@@ -306,7 +306,7 @@
"""Flow-related edit failure tests."""
- family = 'test'
+ family = 'wikipedia'
code = 'test'
user = True
diff --git a/tests/flow_tests.py b/tests/flow_tests.py
index ae24720..7a00c5d 100644
--- a/tests/flow_tests.py
+++ b/tests/flow_tests.py
@@ -158,7 +158,7 @@
"""Test errors associated with class methods generating Flow
objects."""
- family = 'test'
+ family = 'wikipedia'
code = 'test'
cached = True
@@ -218,7 +218,7 @@
class TestFlowTopic(TestCase):
"""Test Topic functions."""
- family = 'test'
+ family = 'wikipedia'
code = 'test'
def test_topic(self):
diff --git a/tests/flow_thanks_tests.py b/tests/flow_thanks_tests.py
index c0b2f4e..7730992 100644
--- a/tests/flow_thanks_tests.py
+++ b/tests/flow_thanks_tests.py
@@ -20,7 +20,7 @@
"""Test thanks for Flow posts."""
- family = 'test'
+ family = 'wikipedia'
code = 'test'
write = True
diff --git a/tests/page_tests.py b/tests/page_tests.py
index fc2d8fc..1b7cbf1 100644
--- a/tests/page_tests.py
+++ b/tests/page_tests.py
@@ -997,7 +997,7 @@
"""Test page delete / undelete actions."""
- family = 'test'
+ family = 'wikipedia'
code = 'test'
write = True
@@ -1034,7 +1034,7 @@
"""Test applicable restriction types."""
- family = 'test'
+ family = 'wikipedia'
code = 'test'
def test_applicable_protections(self):
@@ -1066,7 +1066,7 @@
"""Test page protect / unprotect actions."""
- family = 'test'
+ family = 'wikipedia'
code = 'test'
write = True
@@ -1157,7 +1157,7 @@
class TestPermalink(DefaultSiteTestCase):
"""Test that permalink links are correct."""
- family = 'test'
+ family = 'wikipedia'
code = 'test'
def test_permalink(self):
@@ -1181,7 +1181,7 @@
class TestShortLink(DefaultSiteTestCase):
"""Test that short link management is correct."""
- family = 'test'
+ family = 'wikipedia'
code = 'test'
def test_create_short_link(self):
diff --git a/tests/pagegenerators_tests.py b/tests/pagegenerators_tests.py
index ba2868d..ace3262 100755
--- a/tests/pagegenerators_tests.py
+++ b/tests/pagegenerators_tests.py
@@ -335,7 +335,7 @@
"""Test SubpageFilterGenerator."""
- family = 'test'
+ family = 'wikipedia'
code = 'test'
def test_subpage_filter(self):
@@ -362,7 +362,7 @@
"""Test PetScanPageGenerator."""
- family = 'test'
+ family = 'wikipedia'
code = 'test'
def test_petscan(self):
diff --git a/tests/protectbot_tests.py b/tests/protectbot_tests.py
index 08b5009..ae00b1e 100644
--- a/tests/protectbot_tests.py
+++ b/tests/protectbot_tests.py
@@ -19,7 +19,7 @@
"""Test ProtectionBot protect/unprotect
capabilities."""
- family = 'test'
+ family = 'wikipedia'
code = 'test'
sysop = True
diff --git a/tests/replacebot_tests.py b/tests/replacebot_tests.py
index c533495..0a6f0c4 100644
--- a/tests/replacebot_tests.py
+++ b/tests/replacebot_tests.py
@@ -31,7 +31,7 @@
'Press Enter to use this automatic message, or enter a '
'description of the\nchanges your bot will make:')
- family = 'test'
+ family = 'wikipedia'
code = 'test'
cached = False
diff --git a/tests/site_tests.py b/tests/site_tests.py
index 0bfc3a9..279b0f8 100644
--- a/tests/site_tests.py
+++ b/tests/site_tests.py
@@ -2026,7 +2026,7 @@
"""Test site sysop methods that require writing."""
- family = 'test'
+ family = 'wikipedia'
code = 'test'
write = True
@@ -2170,7 +2170,7 @@
"""Test patrol method."""
- family = 'test'
+ family = 'wikipedia'
code = 'test'
user = True
diff --git a/tests/thanks_tests.py b/tests/thanks_tests.py
index 7612cb3..e005c82 100644
--- a/tests/thanks_tests.py
+++ b/tests/thanks_tests.py
@@ -20,7 +20,7 @@
"""Test thanks for revisions."""
- family = 'test'
+ family = 'wikipedia'
code = 'test'
write = True
@@ -80,7 +80,7 @@
"""Test errors when thanking revisions."""
- family = 'test'
+ family = 'wikipedia'
code = 'test'
write = -1
--
To view, visit
https://gerrit.wikimedia.org/r/568510
To unsubscribe, or for help writing mail filters, visit
https://gerrit.wikimedia.org/r/settings
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: If778fba17781f09af5797b8823b36df77ec3f441
Gerrit-Change-Number: 568510
Gerrit-PatchSet: 3
Gerrit-Owner: Dvorapa <dvorapa(a)seznam.cz>
Gerrit-Reviewer: Xqt <info(a)gno.de>
Gerrit-Reviewer: jenkins-bot (75)