comparison libervia/backend/test/test_plugin_xep_0033.py @ 4270:0d7bb4df2343

Reformatted code base using black.
author Goffi <goffi@goffi.org>
date Wed, 19 Jun 2024 18:44:57 +0200
parents 4b842c1fb686
children
comparison
equal deleted inserted replaced
4269:64a85ce8be70 4270:0d7bb4df2343
139 139
140 for to_s in (JID_STR_X_TO, JID_STR_X_CC, JID_STR_X_BCC): 140 for to_s in (JID_STR_X_TO, JID_STR_X_CC, JID_STR_X_BCC):
141 to_jid = JID(to_s) 141 to_jid = JID(to_s)
142 host = JID(to_jid.host) 142 host = JID(to_jid.host)
143 helpers.mute_logging() 143 helpers.mute_logging()
144 d = self.host.find_features_set([plugin.NS_ADDRESS], jid_=host, profile=PROFILE) 144 d = self.host.find_features_set(
145 [plugin.NS_ADDRESS], jid_=host, profile=PROFILE
146 )
145 d.addCallback(cb, to_jid) 147 d.addCallback(cb, to_jid)
146 d_list.append(d) 148 d_list.append(d)
147 149
148 def cb_list(__): 150 def cb_list(__):
149 msg = "/!\ see the comments in XEP_0033.send_and_store_message" 151 msg = "/!\ see the comments in XEP_0033.send_and_store_message"