- Timestamp:
- 2021-03-31T12:41:39Z (4 years ago)
- Children:
- bda5012
- Parents:
- 30b5ca0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
.tests/btlib.py
r30b5ca0 rb77884c 160 160 161 161 def register_test(clis): 162 ret = False 162 163 clis[1].send_priv_msg("&bitlbee", "register "+clis[1].pwd*2) 163 time.sleep(0.5) 164 return (clis[1].receive().find('Account successfully created') != -1) 164 for a in range(20): 165 if (clis[1].receive().find('Account successfully created') != -1): 166 ret = True 167 break 168 time.sleep(0.5) 169 return ret 165 170 166 171 def unregister_test(clis):
Note: See TracChangeset
for help on using the changeset viewer.