Remove test for serverstop with connected clients
because it is non-trivial to implement with the new architecture and probably not worth the effort, because it basically can't happen. A warning/exception should be added instead.
This commit is contained in:
parent
b1b80f657a
commit
6345c3f1f5
|
@ -93,9 +93,3 @@ def test_parse_groups():
|
||||||
def test_parse_utf8(output):
|
def test_parse_utf8(output):
|
||||||
servers = parse_logs(testlog_path + '.utf8')
|
servers = parse_logs(testlog_path + '.utf8')
|
||||||
render_servers(servers, output)
|
render_servers(servers, output)
|
||||||
|
|
||||||
|
|
||||||
def test_server_stop():
|
|
||||||
clients = list(parse_logs('tsstats/tests/res/test.log.stopped'))[0].clients
|
|
||||||
assert clients['1'].onlinetime.seconds / 60 == 20 # minutes
|
|
||||||
assert clients['2'].onlinetime.seconds / 60 == 10 # minutes
|
|
||||||
|
|
Loading…
Reference in New Issue