from scenarios import * scenario = ( send_stanza(""), expect_stanza("/iq[@type='error']/error[@type='cancel']/stanza:feature-not-implemented"), )