Skip to content

Commit 1fa9075

Browse files
chore: sonarqube ignore comment in test
1 parent baec9f5 commit 1fa9075

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/slackBotFunction/tests/conftest.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,7 @@ def mock_env():
3232
def mock_dynamodb_table():
3333
"""Mock DynamoDB table"""
3434
with mock_aws():
35-
# noqa: S2622
36-
dynamodb = boto3.resource("dynamodb", region_name="eu-west-2")
35+
dynamodb = boto3.resource("dynamodb", region_name="eu-west-2") # noqa: S2622 test setup, ignore sonarqube check
3736
table = dynamodb.create_table(
3837
TableName="test-bot-state-table",
3938
KeySchema=[{"AttributeName": "eventId", "KeyType": "HASH"}],

0 commit comments

Comments
 (0)