Updated test suite

This commit is contained in:
Tristan B. Kildaire 2020-04-26 17:01:32 +02:00
parent a246097b82
commit c9a1614856
1 changed files with 11 additions and 10 deletions

View File

@ -6,6 +6,7 @@ def basicTest():
d=socket.socket(socket.AF_INET, socket.SOCK_STREAM)
d.connect(("127.0.0.1",2223))
while True:
# First do it and authenticate
bys=json.dumps({"header":{"authentication":{"username":"tbk", "password":"passwd"}, "scope":"client"},"payload":{"data":"ABBA","type":"type1"}})
print(len(bys), bys)