mirror of
https://github.com/Thor77/TeamspeakStats.git
synced 2025-04-18 11:25:32 -04:00
Add test for Clients.__str__
This commit is contained in:
parent
6345c3f1f5
commit
b9f798d04d
1 changed files with 2 additions and 0 deletions
|
@ -34,6 +34,8 @@ def test_client_repr(clients):
|
||||||
assert str(clients['2']) == '<2, None>'
|
assert str(clients['2']) == '<2, None>'
|
||||||
assert str(clients['UID1']) == '<UID1, None>'
|
assert str(clients['UID1']) == '<UID1, None>'
|
||||||
assert str(clients['UID2']) == '<UID2, None>'
|
assert str(clients['UID2']) == '<UID2, None>'
|
||||||
|
assert str(clients) == \
|
||||||
|
"['<1, None>', '<2, None>', '<UID2, None>', '<UID1, None>']"
|
||||||
|
|
||||||
|
|
||||||
def test_client_nick(clients):
|
def test_client_nick(clients):
|
||||||
|
|
Loading…
Add table
Reference in a new issue