Add test for Client.__repr__

This commit is contained in:
Thor77 2017-09-14 22:39:12 +02:00
parent 52f5cc3ac1
commit f786c87dfb
1 changed files with 1 additions and 0 deletions

View File

@ -34,6 +34,7 @@ def test_client_repr(clients):
assert str(clients['2']) == '<2, None>'
assert str(clients['UID1']) == '<UID1, None>'
assert str(clients['UID2']) == '<UID2, None>'
assert repr(clients['1']) == str(clients['1'])
assert str(clients) == \
"['<1, None>', '<2, None>', '<UID2, None>', '<UID1, None>']"