From 83ce2575a030774f1bf64ac3980557a1d06bc651 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 23 Dec 2025 09:33:33 +0000 Subject: [PATCH 1/2] Initial plan From 808b7999a43f73e3a48def47e01013514f9c1fe5 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 23 Dec 2025 09:37:35 +0000 Subject: [PATCH 2/2] Apply Python style improvements to test assertions Co-authored-by: mykaul <4655593+mykaul@users.noreply.github.com> --- tests/integration/standard/test_control_connection.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/integration/standard/test_control_connection.py b/tests/integration/standard/test_control_connection.py index 206945f0b3..a2f4e051d3 100644 --- a/tests/integration/standard/test_control_connection.py +++ b/tests/integration/standard/test_control_connection.py @@ -90,14 +90,14 @@ def test_get_control_connection_host(self): """ host = self.cluster.get_control_connection_host() - assert host == None + assert host is None self.session = self.cluster.connect() cc_host = self.cluster.control_connection._connection.host host = self.cluster.get_control_connection_host() assert host.address == cc_host - assert host.is_up == True + assert host.is_up # reconnect and make sure that the new host is reflected correctly self.cluster.control_connection._reconnect() @@ -117,16 +117,16 @@ def test_control_connection_port_discovery(self): self.cluster = TestCluster() host = self.cluster.get_control_connection_host() - assert host == None + assert host is None self.session = self.cluster.connect() cc_endpoint = self.cluster.control_connection._connection.endpoint host = self.cluster.get_control_connection_host() assert host.endpoint == cc_endpoint - assert host.is_up == True + assert host.is_up hosts = self.cluster.metadata.all_hosts() - assert 3 == len(hosts) + assert len(hosts) == 3 for host in hosts: assert 9042 == host.broadcast_rpc_port