~singpolyma/biboumi

ref: 91c9aa60849e1e0c3b4c14097fe62439193b20db biboumi/tests/end_to_end/scenarios/raw_names_command.py -rw-r--r-- 466 bytes
91c9aa60 — louiz’ Modify oragono’s conf four our tests 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
from functions import send_stanza, expect_stanza

import scenarios.simple_channel_join

join_channel = scenarios.simple_channel_join.scenario

scenario = (
    join_channel,

    send_stanza("<message type='chat' from='{jid_one}/{resource_one}' to='{irc_server_one}'><body>NAMES</body></message>"),
    expect_stanza("/message/body[text()='irc.localhost: = #foo @{nick_one} ']"),
    expect_stanza("/message/body[text()='irc.localhost: * End of /NAMES list. ']"),
)