From 8f5b709638d9347cd4362f537131564a0f25489b Mon Sep 17 00:00:00 2001 From: ezilber-akamai Date: Tue, 17 Mar 2026 09:33:46 -0400 Subject: [PATCH 1/2] Updated VPC error message in tests --- tests/integration/vpc/test_vpc.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/integration/vpc/test_vpc.py b/tests/integration/vpc/test_vpc.py index 0117374d..9980ba9e 100644 --- a/tests/integration/vpc/test_vpc.py +++ b/tests/integration/vpc/test_vpc.py @@ -147,7 +147,7 @@ def test_fails_to_create_vpc_invalid_label(): ) assert "Request failed: 400" in res - assert "Label must include only ASCII" in res + assert "Must only use ASCII letters, numbers, and dashes" in res def test_fails_to_create_vpc_duplicate_label(test_vpc_wo_subnet): @@ -175,7 +175,7 @@ def test_fails_to_update_vpc_invalid_label(test_vpc_wo_subnet): ) assert "Request failed: 400" in res - assert "Label must include only ASCII" in res + assert "Must only use ASCII letters, numbers, and dashes" in res def test_fails_to_create_vpc_subnet_w_invalid_label(test_vpc_wo_subnet): @@ -196,7 +196,7 @@ def test_fails_to_create_vpc_subnet_w_invalid_label(test_vpc_wo_subnet): ) assert "Request failed: 400" in res - assert "Label must include only ASCII" in res + assert "Must only use ASCII letters, numbers, and dashes" in res def test_fails_to_update_vpc_subenet_w_invalid_label(test_vpc_w_subnet): @@ -225,7 +225,7 @@ def test_fails_to_update_vpc_subenet_w_invalid_label(test_vpc_w_subnet): ) assert "Request failed: 400" in res - assert "Label must include only ASCII" in res + assert "Must only use ASCII letters, numbers, and dashes" in res @pytest.mark.skipif( From 1aaa501518f71e8760cf588779561401815633d4 Mon Sep 17 00:00:00 2001 From: ezilber-akamai Date: Tue, 17 Mar 2026 09:43:19 -0400 Subject: [PATCH 2/2] Fix typo in test name --- tests/integration/vpc/test_vpc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/vpc/test_vpc.py b/tests/integration/vpc/test_vpc.py index 9980ba9e..e56b4f55 100644 --- a/tests/integration/vpc/test_vpc.py +++ b/tests/integration/vpc/test_vpc.py @@ -199,7 +199,7 @@ def test_fails_to_create_vpc_subnet_w_invalid_label(test_vpc_wo_subnet): assert "Must only use ASCII letters, numbers, and dashes" in res -def test_fails_to_update_vpc_subenet_w_invalid_label(test_vpc_w_subnet): +def test_fails_to_update_vpc_subnet_w_invalid_label(test_vpc_w_subnet): vpc_id = test_vpc_w_subnet invalid_label = "invalid_label"