mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 14:03:30 +00:00 
			
		
		
		
	zerver/tests: Use python 3 syntax for typing (part 4).
This commit is contained in:
		@@ -19,9 +19,8 @@ from zerver.models import UserProfile, UserGroup, get_realm, Realm, \
 | 
			
		||||
    UserGroupMembership
 | 
			
		||||
 | 
			
		||||
class UserGroupTestCase(ZulipTestCase):
 | 
			
		||||
    def create_user_group_for_test(self, group_name,
 | 
			
		||||
                                   realm=get_realm('zulip')):
 | 
			
		||||
        # type: (Text, Realm) -> UserGroup
 | 
			
		||||
    def create_user_group_for_test(self, group_name: Text,
 | 
			
		||||
                                   realm: Realm=get_realm('zulip')) -> UserGroup:
 | 
			
		||||
        members = [self.example_user('othello')]
 | 
			
		||||
        return create_user_group(group_name, members, realm)
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user