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.
This commit is contained in:
Goffi 2020-11-12 14:53:15 +01:00
commit e5a0948b71

View file

@ -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)