Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

test_import_export: Fix incorrect type annotation.

Anders Kaseorg1df3db286b24
diff --git a/zerver/tests/test_import_export.py b/zerver/tests/test_import_export.py
index 89d4dc3b512..7205fc5f78c 100644
--- a/zerver/tests/test_import_export.py
+++ b/zerver/tests/test_import_export.py
@@ -1233,7 +1233,7 @@ class RealmImportExportTest(ExportFile):
return direct_subgroup_names
@getter
- def get_user_group_can_mention_group_setting(r: Realm) -> Set[str]:
+ def get_user_group_can_mention_group_setting(r: Realm) -> str:
user_group = UserGroup.objects.get(realm=r, name="hamletcharacters")
return user_group.can_mention_group.name