From dd111ab5d91d5421677ce8ea8d1e61a29d6022bf Mon Sep 17 00:00:00 2001 From: Mathieu Cloutier Date: Tue, 8 Oct 2024 22:44:48 -0600 Subject: [PATCH] fixed linting --- tests/test_apigateway/test_apigateway_custom_ids.py | 8 ++++++-- tests/test_secretsmanager/test_secretsmanager.py | 4 +++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/tests/test_apigateway/test_apigateway_custom_ids.py b/tests/test_apigateway/test_apigateway_custom_ids.py index baadb7ec4151..2999f1cc0154 100644 --- a/tests/test_apigateway/test_apigateway_custom_ids.py +++ b/tests/test_apigateway/test_apigateway_custom_ids.py @@ -24,7 +24,9 @@ @mock_aws -@pytest.mark.skipif(not settings.TEST_DECORATOR_MODE, reason="Can't access the id manager in proxy mode") +@pytest.mark.skipif( + not settings.TEST_DECORATOR_MODE, reason="Can't access the id manager in proxy mode" +) def test_custom_id_rest_api(set_custom_id, account_id): region_name = "us-west-2" rest_api_name = "my-api" @@ -108,7 +110,9 @@ def test_custom_id_rest_api(set_custom_id, account_id): @mock_aws -@pytest.mark.skipif(not settings.TEST_DECORATOR_MODE, reason="Can't access the id manager in proxy mode") +@pytest.mark.skipif( + not settings.TEST_DECORATOR_MODE, reason="Can't access the id manager in proxy mode" +) def test_custom_id_api_key(account_id, set_custom_id): region_name = "us-west-2" api_key_value = "01234567890123456789" diff --git a/tests/test_secretsmanager/test_secretsmanager.py b/tests/test_secretsmanager/test_secretsmanager.py index c432fc773e43..80e7ac25e3d7 100644 --- a/tests/test_secretsmanager/test_secretsmanager.py +++ b/tests/test_secretsmanager/test_secretsmanager.py @@ -1954,7 +1954,9 @@ def test_update_secret_version_stage_dont_specify_current_stage(secret_arn=None) @mock_aws -@pytest.mark.skipif(not settings.TEST_DECORATOR_MODE, reason="Can't access the id manager in proxy mode") +@pytest.mark.skipif( + not settings.TEST_DECORATOR_MODE, reason="Can't access the id manager in proxy mode" +) def test_create_secret_custom_id(account_id, set_custom_id): secret_suffix = "randomSuffix" secret_name = "secret-name"