diff --git a/tests/test_connections.py b/tests/test_connections.py index f37c1b4f5..aa7a0d4e9 100644 --- a/tests/test_connections.py +++ b/tests/test_connections.py @@ -190,7 +190,7 @@ def test_add_connection_then_connect(self, uri): with mock.patch(f"{mock_prefix}.close", return_value=None): connections.remove_connection(alias) - + def test_connect_with_reuse_grpc(self): alias = "default" default_addr = {"address": "localhost:19530", "user": ""} @@ -211,7 +211,6 @@ def test_connect_with_reuse_grpc(self): with mock.patch(f"{mock_prefix}.close", return_value=None): connections.disconnect(alias) - assert list(connections._connection_references.values())[0] == 1 with mock.patch(f"{mock_prefix}.close", return_value=None):