From 3f2ccd3ac68e3ba384540d0eab23ac96e7ee3c47 Mon Sep 17 00:00:00 2001 From: Thor77 Date: Thu, 19 May 2016 21:24:22 +0200 Subject: [PATCH] cover tsstats.client.Clients.__del__ --- tsstats/tests/test_client.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tsstats/tests/test_client.py b/tsstats/tests/test_client.py index 8cdefd6..ec961db 100644 --- a/tsstats/tests/test_client.py +++ b/tsstats/tests/test_client.py @@ -36,3 +36,8 @@ def test_clients_iter(): assert cl2 in client_list assert uidcl1 in client_list assert uidcl2 in client_list + + +def test_clients_delete(): + del clients['1'] + assert cl1 not in clients