Changeset 2e9b39a for .tests/test1.py
- Timestamp:
- 2021-03-17T15:02:04Z (4 years ago)
- Children:
- 76f0fd1
- Parents:
- 04d7229
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
.tests/test1.py
r04d7229 r2e9b39a 73 73 text = '' 74 74 while True: 75 time.sleep(0.1)76 75 readable, _, _ = select.select([self.sck], [], [], 5) 77 76 if self.sck in readable: … … 172 171 clis[1].send_priv_msg("&bitlbee", "set -del status") 173 172 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) 175 174 return ret 176 175 … … 186 185 ret = ret & (junk.find("has quit") != -1) 187 186 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") 189 188 ret = ret & (clis[0].receive().find("User does not exist: "+clis[1].nick) != -1) 190 189
Note: See TracChangeset
for help on using the changeset viewer.