Changeset 5552588


Ignore:
Timestamp:
2021-03-17T16:20:58Z (4 weeks ago)
Author:
/ <>
Children:
68ba9f4
Parents:
7361a6a
Message:

proper send

File:
1 edited

Legend:

Unmodified
Added
Removed
  • .tests/test1.py

    r7361a6a r5552588  
    203203def default_target_test(clis):
    204204    clis[0].send_priv_msg("&bitlbee", "set default_target last")
    205     ret = msg_comes_thru(clis[0], clis[1], "ur mah default now")
    206 
    207     clis[0].send_priv_msg("&bitlbee", "~~~")
    208     ret = ret & (clis[1].receive().find("~~~") != -1)
     205    clis[0].send_priv_msg("&bitlbee", "test2: ur mah default now")
     206   
     207    ret = (clis[1].receive().find("ur mah default now") != -1)
     208
     209    clis[0].send_priv_msg("&bitlbee", "mrow")
     210    ret = ret & (clis[1].receive().find("mrow") != -1)
    209211
    210212    clis[0].send_priv_msg("root", "set default_target root")
     
    250252
    251253    if DEFAULTTARGETTEST:
    252         perform_test(failed, clis, default_target_test, "Go offline")
     254        perform_test(failed, clis, default_target_test, "Default target")
    253255
    254256    if failed or SHOWLOG:
Note: See TracChangeset for help on using the changeset viewer.