changeset 3398:467d6c709f1d

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.
author Goffi <goffi@goffi.org>
date Thu, 12 Nov 2020 14:53:15 +0100
parents c069882f64cb
children 506fa3d91d3a
files sat/test/test_core_xmpp.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/sat/test/test_core_xmpp.py	Thu Nov 12 14:53:15 2020 +0100
+++ b/sat/test/test_core_xmpp.py	Thu Nov 12 14:53:15 2020 +0100
@@ -35,7 +35,7 @@
     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)