Changeset 0a98f92


Ignore:
Timestamp:
2021-03-31T11:19:32Z (2 weeks ago)
Author:
/ <>
Children:
5d92763
Parents:
cdb59cc
Message:

proper del

File:
1 edited

Legend:

Unmodified
Added
Removed
  • .tests/btlib.py

    rcdb59cc r0a98f92  
    139139def jabber_delete_account_test(clis):
    140140    ret = True
     141    clis[1].receive()
    141142    clis[1].send_priv_msg("&bitlbee", "account list")
    142143    time.sleep(0.5)
    143     ret = ret & (clis[0].receive().find(clis[1].nick+'@localhost') != -1)
     144    ret = ret & (clis[1].receive().find(clis[1].nick+'@localhost') != -1)
    144145
    145146    clis[1].send_priv_msg("&bitlbee", "account on")
    146147    clis[1].send_priv_msg("&bitlbee", "account "+clis[1].nick+" del")
    147     clis[0].receive()
     148    clis[1].receive()
    148149    clis[1].send_priv_msg("&bitlbee", "account list")
    149150    time.sleep(0.5)
    150     ret = ret & (clis[0].receive().find(clis[1].nick+'@localhost') != -1)
     151    ret = ret & (clis[1].receive().find(clis[1].nick+'@localhost') != -1)
    151152
    152153    clis[1].send_priv_msg("&bitlbee", "account off")
    153154    clis[1].send_priv_msg("&bitlbee", "account "+clis[1].nick+" del")
    154     clis[0].receive()
     155    clis[1].receive()
    155156    clis[1].send_priv_msg("&bitlbee", "account list")
    156157    time.sleep(0.5)
    157     ret = ret & (clis[0].receive().find(clis[1].nick+'@localhost') == -1)
     158    ret = ret & (clis[1].receive().find(clis[1].nick+'@localhost') == -1)
    158159    return ret
    159160
Note: See TracChangeset for help on using the changeset viewer.