From c994f08bfab4c39822a9b246713d69ee29fed41c Mon Sep 17 00:00:00 2001 From: Sandip Pandey <np.sandip.pandey@gmail.com> Date: Wed, 7 Feb 2024 08:56:53 +0100 Subject: [PATCH] Fix socks connection tests --- .../components/socks_servers/socks5/tests/test_connection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tribler/core/components/socks_servers/socks5/tests/test_connection.py b/src/tribler/core/components/socks_servers/socks5/tests/test_connection.py index 13094ed2362..6e9e0041fe4 100644 --- a/src/tribler/core/components/socks_servers/socks5/tests/test_connection.py +++ b/src/tribler/core/components/socks_servers/socks5/tests/test_connection.py @@ -50,7 +50,7 @@ def test_invalid_version(connection): Test passing an invalid version to the socks5 server """ connection.data_received(unhexlify('040100')) - assert not connection.transport.connected + assert not connection.transport def test_method_request(connection):