mirror of https://github.com/zulip/zulip.git
test_hipchat_importer: Fix a type: ignore issue.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
83b6884d8b
commit
ff324328cb
|
@ -12,7 +12,7 @@ class HipChatImporter(ZulipTestCase):
|
|||
user_handler = UserHandler()
|
||||
|
||||
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.
|
||||
user_with_id = dict(
|
||||
|
|
Loading…
Reference in New Issue