Add test for Client.__repr__
This commit is contained in:
parent
52f5cc3ac1
commit
f786c87dfb
|
@ -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>']"
|
||||
|
||||
|
|
Loading…
Reference in New Issue