Changeset a18cf1b
- Timestamp:
- 2021-03-29T12:18:57Z (4 years ago)
- Children:
- cb80802
- Parents:
- d347470
- Location:
- .tests
- Files:
-
- 1 added
- 2 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')] -
.tests/setup_prosody.sh
rd347470 ra18cf1b 3 3 set -e 4 4 5 sudo prosodyctlstart5 sudo /etc/init.d/prosody start 6 6 sudo prosodyctl register test1 localhost asd 7 7 sudo prosodyctl register test2 localhost asd
Note: See TracChangeset
for help on using the changeset viewer.