test_hipchat_importer: Fix a type: ignore issue.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2020-06-30 16:18:36 -07:00
parent 83b6884d8b
commit ff324328cb
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ class HipChatImporter(ZulipTestCase):
user_handler = UserHandler() user_handler = UserHandler()
user_id_mapper = IdMapper() user_id_mapper = IdMapper()
user_id_mapper.has = lambda key: True # type: ignore[assignment] # it's just a stub self.assertEqual(user_id_mapper.get(1), 1)
# Simulate a "normal" user first. # Simulate a "normal" user first.
user_with_id = dict( user_with_id = dict(