mypy: Add missing type parameter in test_upload.py:create_user.

This commit is contained in:
neiljp (Neil Pilgrim) 2017-07-05 23:23:27 -07:00 committed by Tim Abbott
parent 6cb3a2ab1a
commit 0958298d88
1 changed files with 1 additions and 1 deletions

View File

@ -463,7 +463,7 @@ class FileUploadTest(UploadSerializeMixin, ZulipTestCase):
# type: () -> None
def create_user(email, realm_id):
# type: (Text) -> UserProfile
# type: (Text, Text) -> UserProfile
self.register(email, 'test')
return get_user(email, get_realm(realm_id))