Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions test/integration/models/nodebalancer/test_nodebalancer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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):
Expand All @@ -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
Expand All @@ -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),
Expand Down
Loading