Skip to content

Commit 34254e0

Browse files
committed
Add copilot suggestions
1 parent f08ddee commit 34254e0

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

test/integration/models/linode/test_linode.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import ipaddress
2-
import random
32
import time
43
from test.integration.conftest import get_region
54
from test.integration.helpers import (
@@ -236,7 +235,7 @@ def linode_with_disk_encryption(test_linode_client, request):
236235

237236

238237
@pytest.fixture(scope="session")
239-
def create_linode_with_authorization_key(test_linode_client, ssh_key_gen):
238+
def create_linode_with_authorized_key(test_linode_client, ssh_key_gen):
240239
client = test_linode_client
241240

242241
region = get_region(client, {"Linodes", "Cloud Firewall"}, site_type="core")
@@ -1207,9 +1206,10 @@ def test_expected_error_if_fields_authorized_users_authorized_keys_root_pass_are
12071206

12081207

12091208
def test_create_linode_with_kernel_and_boot_size_then_add_disk_and_rebuild(
1210-
create_linode_with_authorization_key,
1209+
create_linode_with_authorized_key,
1210+
ssh_key_gen,
12111211
):
1212-
linode_create = create_linode_with_authorization_key
1212+
linode_create = create_linode_with_authorized_key
12131213
assert linode_create.image.id == "linode/debian12"
12141214

12151215
wait_for_condition(10, 300, get_status, linode_create, "running")
@@ -1228,7 +1228,7 @@ def test_create_linode_with_kernel_and_boot_size_then_add_disk_and_rebuild(
12281228
3,
12291229
linode_create.rebuild,
12301230
"linode/debian12",
1231-
authorized_keys="ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBJ0QO0FQx0J8l8n1aX4d7p0mW0uQ1u7m0mK2K9m1g3rX6m4sYv0r2g1W9m8pQ3x5r7t1n6v8k2p4s6d9f1h3j5k= integration-test",
1231+
authorized_keys=ssh_key_gen[0],
12321232
)
12331233
wait_for_condition(10, 300, get_status, linode_create, "rebuilding")
12341234
assert linode_create.status == "rebuilding"

0 commit comments

Comments
 (0)