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:
Thor77 2017-09-10 00:13:23 +02:00
parent b1b80f657a
commit 6345c3f1f5
1 changed files with 0 additions and 6 deletions

View File

@ -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