Changeset 8d7cc55 for .tests/test1.py
- Timestamp:
- 2021-03-18T11:18:36Z (4 years ago)
- Children:
- 4c87970
- Parents:
- 51f144a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
.tests/test1.py
r51f144a r8d7cc55 150 150 151 151 clis[0].send_priv_msg("&bitlbee", "blist") 152 ret = clis[0].receive().find(clis[1].nick) != -1 153 154 clis[1].send_priv_msg("&bitlbee", "remove" +clis[1].nick) 152 junk = clis[0].receive() 153 ret = junk.find(clis[1].nick) != -1 154 ret = ret & (junk.find("1 available") != -1) 155 156 clis[0].send_priv_msg("&bitlbee", "remove" +clis[1].nick) 155 157 clis[0].send_priv_msg("&bitlbee", "blist") 156 158 ret = ret & (clis[0].receive().find(clis[1].nick) == -1) … … 159 161 clis[1].send_priv_msg("&bitlbee", "yes") 160 162 clis[0].send_priv_msg("&bitlbee", "blist") 161 ret = ret & (clis[0].receive().find(clis[1].nick) != -1) 163 junk = clis[0].receive() 164 ret = ret & (junk.find("1 available") != -1) 165 ret = ret & (junk.find(clis[1].nick) != -1) 162 166 163 167 def message_test(clis):
Note: See TracChangeset
for help on using the changeset viewer.