Changeset 2e9b39a for .tests/test1.py


Ignore:
Timestamp:
2021-03-17T15:02:04Z (4 years ago)
Author:
/ <>
Children:
76f0fd1
Parents:
04d7229
Message:

fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • .tests/test1.py

    r04d7229 r2e9b39a  
    7373        text = ''
    7474        while True:
    75             time.sleep(0.1)
    7675            readable, _, _ = select.select([self.sck], [], [], 5)
    7776            if self.sck in readable:
     
    172171    clis[1].send_priv_msg("&bitlbee", "set -del status")
    173172    clis[0].send_priv_msg("&bitlbee", "info "+clis[1].nick)
    174     ret = ret & (clis[0].receive().find("jabber - Status message: none") != -1)
     173    ret = ret & (clis[0].receive().find("jabber - Status message: (none)") != -1)
    175174    return ret
    176175
     
    186185    ret = ret & (junk.find("has quit") != -1)
    187186
    188     clis[0].send_priv_msg(clis[1], "i'm not ur mom")
     187    clis[0].send_priv_msg(clis[1].nick, "i'm not ur mom")
    189188    ret = ret & (clis[0].receive().find("User does not exist: "+clis[1].nick) != -1)
    190189
Note: See TracChangeset for help on using the changeset viewer.