1
0
mirror of https://github.com/TheGreyDiamond/Enlight.git synced 2025-07-21 21:48:40 +02:00

Added unti testing!

This commit is contained in:
TheGreyDiamond
2020-09-17 22:01:29 +02:00
parent dbac9b4ac9
commit f5a9fe21f5
7 changed files with 29 additions and 9 deletions

9
mainCode/testClient.py Normal file
View File

@ -0,0 +1,9 @@
import session, time
userSession = session.enlightSession("myLocalSession", role = session.USER)
userSession.initConnection()
time.sleep(8)
print(list(userSession.allOnlineSessions.keys())[0])
userSession.join(list(userSession.allOnlineSessions.keys())[0])
time.sleep(8)
userSession.leave()