Fix: forgot to close TCP socket

This commit is contained in:
DarkCat09 2024-05-31 18:58:12 +04:00
parent 869908daef
commit e9ac3d291d
Signed by: DarkCat09
GPG key ID: 0A26CD5B3345D6E3

View file

@ -29,6 +29,9 @@ class TestTCP(TestCase):
data = self.sock.recv(1024)
self.assertEqual(data, b'OK')
def tearDown(self) -> None:
self.sock.close()
class TestHTTP(TestCase):