Beispiel #1
0
def sync_done_check(channel):
    sync_done_send.succeed_if(
        tracking.get_channel(client.netid, channel).state == {"who", "mode"})
Beispiel #2
0
def check_end_who(_):
    test_end_who.succeed_if(
        "who" in tracking.get_channel(client.netid, "#example").state)
Beispiel #3
0
def sync_done_check(channel):
    sync_done_send.succeed_if(tracking.get_channel(client.netid, channel).state == {"who", "mode"})
Beispiel #4
0
def test_names_responses():
    signal("raw").send(client, text=":irc.example.com 353 bot @ #example :bot +otheruser")
    signal("raw").send(client, text=":irc.example.com 366 bot #example :End of NAMES list.")
    test_names_responses.succeed_if("otheruser" in tracking.get_channel(client.netid, "#example").flags['+'])
Beispiel #5
0
def check_end_who(_):
    test_end_who.succeed_if("who" in tracking.get_channel(client.netid, "#example").state)