Changeset 5552588 for .tests/test1.py
- Timestamp:
- 2021-03-17T16:20:58Z (4 years ago)
- Children:
- 68ba9f4
- Parents:
- 7361a6a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
.tests/test1.py
r7361a6a r5552588 203 203 def default_target_test(clis): 204 204 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) 209 211 210 212 clis[0].send_priv_msg("root", "set default_target root") … … 250 252 251 253 if DEFAULTTARGETTEST: 252 perform_test(failed, clis, default_target_test, " Go offline")254 perform_test(failed, clis, default_target_test, "Default target") 253 255 254 256 if failed or SHOWLOG:
Note: See TracChangeset
for help on using the changeset viewer.