mirror of
https://github.com/BOSWatch/BW3-Core.git
synced 2026-04-05 14:25:45 +00:00
make client ready for broadcast function
This commit is contained in:
parent
54b4c1439a
commit
e2ca436e5d
5 changed files with 33 additions and 21 deletions
|
|
@ -61,15 +61,8 @@ except Exception as e: # pragma: no cover
|
|||
|
||||
# Test for the broadcast connection info function
|
||||
server = BroadcastServer()
|
||||
client = BroadcastClient()
|
||||
server.start()
|
||||
print(server.isRunning)
|
||||
client.getConnInfo()
|
||||
print(client.serverIP, client.serverPort)
|
||||
server.stop()
|
||||
print(server.isRunning)
|
||||
time.sleep(2)
|
||||
print(server.isRunning)
|
||||
|
||||
|
||||
# test for the timer class
|
||||
from boswatch.utils.timer import RepeatedTimer
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue