From 213d958ffadb9139caabb1bb3929e94dab18b7d0 Mon Sep 17 00:00:00 2001 From: Pawel Snoch Date: Tue, 14 Jul 2026 10:11:33 +0200 Subject: [PATCH] TPT-3501: add assertion for new fields related to NodeBalancer endpoints --- test/integration/models/nodebalancer/test_nodebalancer.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/test/integration/models/nodebalancer/test_nodebalancer.py b/test/integration/models/nodebalancer/test_nodebalancer.py index 09542911a..7c3a40c75 100644 --- a/test/integration/models/nodebalancer/test_nodebalancer.py +++ b/test/integration/models/nodebalancer/test_nodebalancer.py @@ -139,7 +139,7 @@ def test_create_nb(test_linode_client, e2e_test_firewall): def test_get_nodebalancer_config(test_linode_client, create_nb_config): - config = test_linode_client.load( + test_linode_client.load( NodeBalancerConfig, create_nb_config.id, create_nb_config.nodebalancer_id, @@ -184,6 +184,8 @@ def test_get_nb(test_linode_client, create_nb): ) assert nb.id == create_nb.id + assert nb.type == 'common' + assert nb.lke_cluster is None def test_update_nb(test_linode_client, create_nb): @@ -205,6 +207,8 @@ def test_update_nb(test_linode_client, create_nb): assert new_label == nb_updated.label assert 5 == nb_updated.client_udp_sess_throttle + assert nb.type == 'common' + assert nb.lke_cluster is None @pytest.mark.smoke @@ -228,7 +232,7 @@ def test_create_nb_node( @pytest.mark.smoke def test_get_nb_node(test_linode_client, create_nb_config): - node = test_linode_client.load( + test_linode_client.load( NodeBalancerNode, create_nb_config.nodes[0].id, (create_nb_config.id, create_nb_config.nodebalancer_id),