mirror of
https://github.com/BOSWatch/BW3-Core.git
synced 2026-04-04 13:57:44 +00:00
fix server test
This commit is contained in:
parent
2a139aeb29
commit
0e587e7698
2 changed files with 6 additions and 3 deletions
|
|
@ -162,7 +162,10 @@ def test_serverDoubleStart():
|
|||
testServer1 = TCPServer(dataQueue)
|
||||
testServer2 = TCPServer(dataQueue)
|
||||
assert testServer1.start()
|
||||
assert not testServer2.start()
|
||||
assert testServer1.isRunning
|
||||
assert testServer2.start()
|
||||
assert testServer1.isRunning
|
||||
assert testServer2.isRunning
|
||||
assert testServer1.stop()
|
||||
assert testServer2.stop()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue