File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -76,5 +76,4 @@ preview = true
7676 " PLR6301" ,
7777 " SIM117" ,
7878 " TRY301" ,
79- " SLF001" ,
8079]
Original file line number Diff line number Diff line change 4747@pytest .fixture
4848def reset_lambda_client_cache ():
4949 """Reset the class-level boto3 client cache before and after each test."""
50- LambdaClient ._cached_boto_client = None
50+ LambdaClient ._cached_boto_client = None # noqa: SLF001
5151 yield
52- LambdaClient ._cached_boto_client = None
52+ LambdaClient ._cached_boto_client = None # noqa: SLF001
5353
5454
5555# =============================================================================
@@ -2117,7 +2117,9 @@ def test_lambda_client_cache_is_class_level(
21172117 LambdaClient .initialize_client ()
21182118
21192119 # Verify the boto3 client is cached at class level
2120- assert LambdaClient ._cached_boto_client is mock_client
2120+ assert LambdaClient ._cached_boto_client is mock_client # noqa: SLF001
2121+
2122+
21212123# Tests for Operation JSON Serialization Methods
21222124# =============================================================================
21232125
You can’t perform that action at this time.
0 commit comments