From e5a0948b71d79c3c12819e49a8eb1a1c96107850 Mon Sep 17 00:00:00 2001 From: Goffi Date: Thu, 12 Nov 2020 14:53:15 +0100 Subject: [PATCH] test: fixed use of `client.host` in legacy test: those tests are not maintained anymore, but as the use of `client.host` as been fixed elsewhere, it was the occasion to do it there too. Those legacy tests should be ported or to the new workflow, or deleted if they are not relevant anymore. --- sat/test/test_core_xmpp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sat/test/test_core_xmpp.py b/sat/test/test_core_xmpp.py index 5b3febb1..324860f4 100644 --- a/sat/test/test_core_xmpp.py +++ b/sat/test/test_core_xmpp.py @@ -35,7 +35,7 @@ class SatXMPPClientTest(unittest.TestCase): def test_init(self): """Check that init values are correctly initialised""" self.assertEqual(self.client.profile, Const.PROFILE[0]) - print(self.client.host) + print(self.client.jid.host) self.assertEqual(self.client.host_app, self.host)