diff tests/unit/conftest.py @ 4034:9496f28dadff

tests (unit): Add test for plugin XEP-0215: rel 418
author Goffi <goffi@goffi.org>
date Fri, 07 Apr 2023 15:17:24 +0200
parents f5ba7594cced
children 524856bd7b19
line wrap: on
line diff
--- a/tests/unit/conftest.py	Fri Apr 07 15:16:39 2023 +0200
+++ b/tests/unit/conftest.py	Fri Apr 07 15:17:24 2023 +0200
@@ -112,6 +112,7 @@
 def client():
     client = MagicMock()
     client.jid = jid.JID("test_user@test.example/123")
+    client.server_jid = jid.JID("test.example")
     client.pubsub_service = jid.JID("pubsub.test.example")
     client.pubsub_client = AsyncMock()
     return client