mirror of
https://github.com/BOSWatch/BW3-Core.git
synced 2025-12-06 07:12:04 +01:00
fix server test
This commit is contained in:
parent
422109f3fe
commit
1ae54bee27
|
|
@ -133,7 +133,6 @@ class TCPServer:
|
|||
except socket.error as e:
|
||||
logging.error(e)
|
||||
return False
|
||||
|
||||
else:
|
||||
logging.warning("server always started")
|
||||
return True
|
||||
|
|
|
|||
|
|
@ -170,7 +170,7 @@ def test_serverStartTwoInstances():
|
|||
testServer2 = TCPServer(dataQueue)
|
||||
assert testServer1.start()
|
||||
assert testServer1.isRunning
|
||||
assert testServer2.start()
|
||||
assert not testServer2.start()
|
||||
assert testServer1.isRunning
|
||||
assert testServer2.isRunning
|
||||
assert testServer1.stop()
|
||||
|
|
|
|||
Loading…
Reference in a new issue