Changeset a18cf1b for .tests/btlib.py
- Timestamp:
- 2021-03-29T12:18:57Z (4 years ago)
- Children:
- cb80802
- Parents:
- d347470
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
.tests/btlib.py
rd347470 ra18cf1b 28 28 29 29 def connect(self): 30 try: 31 self.sck.connect(('127.0.0.1', 6667)) 32 except: 30 connected = False 31 for x in range(5): 32 try: 33 self.sck.connect(('127.0.0.1', 6667)) 34 connected = True 35 break 36 except: 37 time.sleep(1) 38 39 if not connected: 33 40 print("IRC connection failed for " + self.nick) 34 41 sys.exit(1) … … 86 93 87 94 def perform_test(test_function): 88 time.sleep(5)89 95 clis = [] 90 96 clis += [IrcClient('test1', 'asd')]
Note: See TracChangeset
for help on using the changeset viewer.