Happy5214 has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/255529

Change subject: Use new test topic for reply tests
......................................................................

Use new test topic for reply tests

The topic on the testwiki used to test replying has become too big.
The size of the topic is slowing down reply tests. This patch points
the reply tests to a new topic in order to speed them up.

Unless someone can purge the posts from the topic, patches such as
this one will be necessary periodically.

Change-Id: Icf84daa1ec0eb855370e10902b82cbb43ae7af43
---
M tests/flow_edit_tests.py
1 file changed, 5 insertions(+), 5 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/pywikibot/core 
refs/changes/29/255529/1

diff --git a/tests/flow_edit_tests.py b/tests/flow_edit_tests.py
index 5ae7a54..a794345 100644
--- a/tests/flow_edit_tests.py
+++ b/tests/flow_edit_tests.py
@@ -53,7 +53,7 @@
         """Test replying to "topic" (really the topic's root post)."""
         # Setup
         content = 'I am a reply to the topic. Replying works!'
-        topic = Topic(self.site, 'Topic:Sl4ssgh123c3e1bh')
+        topic = Topic(self.site, 'Topic:Stf56oxx0sd4dkj1')
         old_replies = topic.replies(force=True)[:]
         # Reply
         reply_post = topic.reply(content, 'wikitext')
@@ -71,7 +71,7 @@
         """Test replying to the topic's root post directly."""
         # Setup
         content = "I am a reply to the topic's root post. Replying still 
works!"
-        topic = Topic(self.site, 'Topic:Sl4ssgh123c3e1bh')
+        topic = Topic(self.site, 'Topic:Stf56oxx0sd4dkj1')
         topic_root = topic.root
         old_replies = topic_root.replies(force=True)[:]
         # Reply
@@ -90,8 +90,8 @@
         """Test replying to an ordinary post."""
         # Setup
         content = 'I am a nested reply to a regular post. Still going strong!'
-        topic = Topic(self.site, 'Topic:Sl4ssgh123c3e1bh')
-        root_post = Post(topic, 'smjnql768bl0h0kt')
+        topic = Topic(self.site, 'Topic:Stf56oxx0sd4dkj1')
+        root_post = Post(topic, 'stf5bamzx32rj1gt')
         old_replies = root_post.replies(force=True)[:]
         # Reply
         reply_post = root_post.reply(content, 'wikitext')
@@ -110,7 +110,7 @@
         # Setup
         first_content = 'I am a reply to the topic with my own replies. Great!'
         second_content = 'I am a nested reply. This conversation is getting 
pretty good!'
-        topic = Topic(self.site, 'Topic:Sl4ssgh123c3e1bh')
+        topic = Topic(self.site, 'Topic:Stf56oxx0sd4dkj1')
         topic_root = topic.root
         # First reply
         old_root_replies = topic_root.replies(force=True)[:]

-- 
To view, visit https://gerrit.wikimedia.org/r/255529
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Icf84daa1ec0eb855370e10902b82cbb43ae7af43
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Happy5214 <happy5...@gmail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to