test client-repr
This commit is contained in:
parent
f95aaf5737
commit
63d3f69c3c
|
@ -1,5 +1,6 @@
|
|||
from tsstats import parse_logs
|
||||
from os import remove
|
||||
from nose.tools import raises
|
||||
|
||||
clients = parse_logs('tests/res/test.log')
|
||||
|
||||
|
@ -36,6 +37,10 @@ def test_parse_pbans():
|
|||
assert clients['2'].pbans == 1
|
||||
|
||||
|
||||
def test_client_repr():
|
||||
assert str(clients['1']) == '<1,Client1>'
|
||||
|
||||
|
||||
def test_debug_log():
|
||||
clients = parse_logs('tests/res/test.log', file_log=True)
|
||||
open('debug.txt')
|
||||
|
|
Loading…
Reference in New Issue