Changeset d24e6f7 for .tests/test1.py


Ignore:
Timestamp:
2021-02-25T10:06:21Z (4 years ago)
Author:
/ <>
Children:
43a257d
Parents:
ed1f97c9
Message:

even more

File:
1 edited

Legend:

Unmodified
Added
Removed
  • .tests/test1.py

    red1f97c9 rd24e6f7  
    99
    1010    def sendRaw(self, msg):
     11        self.receive()
    1112        self.log += msg+'\r\n'
    1213        self.sck.send((msg+'\r\n').encode())
     
    5859        cli.jabberLogin()
    5960    a, b = clis[0], clis[1]
    60     time.sleep(1)
     61
    6162    a.sendPrivMsg(b.nick, 'ohai qtie')
    62     print("Sender: " + a.receive())
    63     print("Receiver: " + b.receive())
    64     if not b.log.find('ohai qtie') == -1:
    65         print('yay!')
    66     else:
    67         print('nay...')
     63    a.receive()
     64    b.receive()
     65    if b.log.find('ohai qtie') == -1:
     66        print('Message not coming through')
     67        print('Sender Log:' + a.log)
     68        print('Receiver Log:' + b.log)
    6869        sys.exit(1)
    6970
Note: See TracChangeset for help on using the changeset viewer.