diff libervia/backend/test/helpers.py @ 4107:bc7d45dedeb0

backend: rename `SatRosterProtocol` to `LiberviaRosterProtocol`
author Goffi <goffi@goffi.org>
date Fri, 30 Jun 2023 15:11:05 +0200
parents 15055a00162c
children 0d7bb4df2343
line wrap: on
line diff
--- a/libervia/backend/test/helpers.py	Fri Jun 30 15:10:05 2023 +0200
+++ b/libervia/backend/test/helpers.py	Fri Jun 30 15:11:05 2023 +0200
@@ -31,7 +31,7 @@
 from .constants import Const as C
 from wokkel.xmppim import RosterItem
 from wokkel.generic import parseXml
-from libervia.backend.core.xmpp import SatRosterProtocol
+from libervia.backend.core.xmpp import LiberviaRosterProtocol
 from libervia.backend.memory.memory import Params, Memory
 from twisted.trial.unittest import FailTest
 from twisted.trial import unittest
@@ -351,11 +351,11 @@
         return True
 
 
-class FakeRosterProtocol(SatRosterProtocol):
+class FakeRosterProtocol(LiberviaRosterProtocol):
     """This class is used by FakeClient (one instance per profile)"""
 
     def __init__(self, host, parent):
-        SatRosterProtocol.__init__(self, host)
+        LiberviaRosterProtocol.__init__(self, host)
         self.parent = parent
         self._jids = {}
         self.add_item(parent.jid.userhostJID())