From f786c87dfb88b3d8ac253ed62ae18548aaf4b0fb Mon Sep 17 00:00:00 2001 From: Thor77 Date: Thu, 14 Sep 2017 22:39:12 +0200 Subject: [PATCH] Add test for Client.__repr__ --- tsstats/tests/test_client.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tsstats/tests/test_client.py b/tsstats/tests/test_client.py index 6045e0a..550ba96 100644 --- a/tsstats/tests/test_client.py +++ b/tsstats/tests/test_client.py @@ -34,6 +34,7 @@ def test_client_repr(clients): assert str(clients['2']) == '<2, None>' assert str(clients['UID1']) == '' assert str(clients['UID2']) == '' + assert repr(clients['1']) == str(clients['1']) assert str(clients) == \ "['<1, None>', '<2, None>', '', '']"