(
self, connect, target_attribute, expected_port
)
| 2917 | await con.close() |
| 2918 | |
| 2919 | async def _run_connection_test( |
| 2920 | self, connect, target_attribute, expected_port |
| 2921 | ): |
| 2922 | conn = await connect(target_session_attrs=target_attribute) |
| 2923 | self.assertTrue(_get_connected_host(conn).endswith(expected_port)) |
| 2924 | await conn.close() |
| 2925 | |
| 2926 | async def test_target_server_attribute_port(self): |
| 2927 | master_port = self.master_cluster.get_connection_spec()['port'] |
no test coverage detected