mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 14:03:30 +00:00
test_markdown: Reduce object generation in a loop.
This commit is contained in:
@@ -310,7 +310,7 @@ class MarkdownMiscTest(ZulipTestCase):
|
|||||||
mention_backend = MentionBackend(realm.id)
|
mention_backend = MentionBackend(realm.id)
|
||||||
|
|
||||||
content = ""
|
content = ""
|
||||||
for i in range(40):
|
for i in range(5):
|
||||||
group_name = f"group{i}"
|
group_name = f"group{i}"
|
||||||
check_add_user_group(realm, group_name, [hamlet, cordelia], acting_user=othello)
|
check_add_user_group(realm, group_name, [hamlet, cordelia], acting_user=othello)
|
||||||
content += f" @*{group_name}*"
|
content += f" @*{group_name}*"
|
||||||
|
|||||||
Reference in New Issue
Block a user