From 36790e3863dd439c74f5c5c1adcf4548b41e39fd Mon Sep 17 00:00:00 2001 From: Thor77 Date: Thu, 19 May 2016 15:41:19 +0200 Subject: [PATCH] modify test_log_client_count to use tsstats.client.Clients.__len__ --- tsstats/tests/test_log.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tsstats/tests/test_log.py b/tsstats/tests/test_log.py index 8c68e83..51bb6a4 100644 --- a/tsstats/tests/test_log.py +++ b/tsstats/tests/test_log.py @@ -8,8 +8,7 @@ def clients(): def test_log_client_count(clients): - assert len(clients.clients_by_id) == 2 - assert len(clients.clients_by_uid) == 1 + assert len(clients) == 3 def test_log_onlinetime(clients):