tests: start to fix e2e tests
python and slixmpp have moved a bit in 10 years.
This commit is contained in:
@@ -73,7 +73,7 @@ def check_xpath(xpaths, xmpp, after, stanza):
|
||||
if (expected and not matched) or (not expected and matched):
|
||||
raise StanzaError("Received stanza\n%s\ndid not match expected xpath\n%s" % (stanza, real_xpath))
|
||||
if after:
|
||||
if isinstance(after, collections.Iterable):
|
||||
if isinstance(after, collections.abc.Iterable):
|
||||
for af in after:
|
||||
af(stanza, xmpp)
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user