From ba12603178f2052a852e0db1c991d288f6444b16 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Piotr=20Ma=C5=9Blanka?= <piotr.maslanka@henrietta.com.pl>
Date: Mon, 9 May 2022 21:24:26 +0200
Subject: [PATCH] Fix unit tests

---
 tests/test_coding/test_resources.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/tests/test_coding/test_resources.py b/tests/test_coding/test_resources.py
index 1692762c..73008b3f 100644
--- a/tests/test_coding/test_resources.py
+++ b/tests/test_coding/test_resources.py
@@ -20,8 +20,7 @@ class TestResources(unittest.TestCase):
                 return lambda: self.resources + 1
 
             def teardown_connection(self, connection) -> None:
-                assert self.resources
-                self.resources -= 1
+                ...
 
         cp = InheritCPManager(5, 2)
 
-- 
GitLab