From b64c397c396523ac66c73a168aa059a01edc95b4 Mon Sep 17 00:00:00 2001 From: olivier Date: Thu, 5 Dec 2024 15:54:24 +0100 Subject: [PATCH] add test --- tests/test_proconnect_mapping.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_proconnect_mapping.py b/tests/test_proconnect_mapping.py index d308fd8..3b5dff8 100644 --- a/tests/test_proconnect_mapping.py +++ b/tests/test_proconnect_mapping.py @@ -23,7 +23,7 @@ class ProConnectMappingTest(aiounittest.AsyncTestCase): #def setUp(self) -> None: async def test_with_map_should_replace(self): - self.module = create_module({"user_id_lookup_fallback_rules":{"new.fr": "beta.fr"}}) + self.module = create_module({"user_id_lookup_fallback_rules":{"very-new.fr": "beta.fr", "new.fr": "beta.fr"}}) # Call the tested function with an email that requires replacement user_id = await self.module.search_user_id_by_threepid("test@new.fr") # Assertions