diff --git a/main.py b/main.py index 8388db3..0cc41c2 100644 --- a/main.py +++ b/main.py @@ -48,6 +48,9 @@ class TestUDP(TestCase): def test_json(self) -> None: self.sock.sendto(device.json_req_data().encode(), UDP_ADDR) + def tearDown(self) -> None: + self.sock.close() + class TestHTTP(TestCase):