Mercurial > libervia-backend
diff sat/test/test_core_xmpp.py @ 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 | 559a625a236b |
children | be6d91572633 |
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)