mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +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)
 | 
			
		||||
 | 
			
		||||
        content = ""
 | 
			
		||||
        for i in range(40):
 | 
			
		||||
        for i in range(5):
 | 
			
		||||
            group_name = f"group{i}"
 | 
			
		||||
            check_add_user_group(realm, group_name, [hamlet, cordelia], acting_user=othello)
 | 
			
		||||
            content += f" @*{group_name}*"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user