From ff324328cbc174ccb40ba44d57c470ec2673a498 Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Tue, 30 Jun 2020 16:18:36 -0700 Subject: [PATCH] test_hipchat_importer: Fix a type: ignore issue. Signed-off-by: Anders Kaseorg --- zerver/tests/test_hipchat_importer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zerver/tests/test_hipchat_importer.py b/zerver/tests/test_hipchat_importer.py index 55657729f1..d15941e397 100644 --- a/zerver/tests/test_hipchat_importer.py +++ b/zerver/tests/test_hipchat_importer.py @@ -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(