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_auth_backends: Return an Iterable for idp names.

Zixuan James Liae949bce040e
diff --git a/zerver/tests/test_auth_backends.py b/zerver/tests/test_auth_backends.py
index f648a97afa4..b4101ccd5f5 100644
--- a/zerver/tests/test_auth_backends.py
+++ b/zerver/tests/test_auth_backends.py
@@ -15,6 +15,7 @@ from typing import (
Any,
Callable,
Dict,
+ Iterable,
Iterator,
List,
Mapping,
@@ -4716,7 +4717,7 @@ class DevGetEmailsTest(ZulipTestCase):
class ExternalMethodDictsTests(ZulipTestCase):
- def get_configured_saml_backend_idp_names(self) -> List[str]:
+ def get_configured_saml_backend_idp_names(self) -> Iterable[str]:
return settings.SOCIAL_AUTH_SAML_ENABLED_IDPS.keys()
def test_get_external_method_dicts_correctly_sorted(self) -> None: