core (xmpp): Remove host from SatMessageProtocol:
It is not needed anymore to pass `host` to most classes, as it is now available as a global variable with `G`.
This commit is contained in:
parent
fd58b78762
commit
e41d2cf26f
1 changed files with 10 additions and 12 deletions
|
|
@ -45,7 +45,7 @@ class SatMessageProtocolTest(unittest.TestCase):
|
|||
|
||||
def setUp(self):
|
||||
self.host = helpers.FakeSAT()
|
||||
self.message = xmpp.SatMessageProtocol(self.host)
|
||||
self.message = xmpp.SatMessageProtocol()
|
||||
self.message.parent = helpers.FakeClient(self.host)
|
||||
|
||||
def test_on_message(self):
|
||||
|
|
|
|||
Loading…
Reference in a new issue