Skip to content

Commit f27830d

Browse files
committed
Fix formatting with ruff
1 parent 484ec4c commit f27830d

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

moto/bedrockagentcorecontrol/exceptions.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,3 @@ class ConflictException(BedrockAgentCoreControlClientError):
1919

2020
def __init__(self, message: str) -> None:
2121
super().__init__("ConflictException", message)
22-
23-

tests/test_bedrockagentcorecontrol/test_bedrockagentcorecontrol.py

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -237,9 +237,9 @@ def test_create_agent_runtime_endpoint_with_version_and_tags():
237237
tags={"env": "test"},
238238
)
239239
assert resp["targetVersion"] == "1"
240-
tags = client.list_tags_for_resource(
241-
resourceArn=resp["agentRuntimeEndpointArn"]
242-
)["tags"]
240+
tags = client.list_tags_for_resource(resourceArn=resp["agentRuntimeEndpointArn"])[
241+
"tags"
242+
]
243243
assert tags == {"env": "test"}
244244

245245

@@ -899,7 +899,11 @@ def test_update_gateway_with_optional_fields():
899899
protocolType="MCP",
900900
authorizerType="NONE",
901901
description="Updated",
902-
authorizerConfiguration={"customJWTAuthorizer": {"discoveryUrl": "https://example.com/.well-known/jwks.json"}},
902+
authorizerConfiguration={
903+
"customJWTAuthorizer": {
904+
"discoveryUrl": "https://example.com/.well-known/jwks.json"
905+
}
906+
},
903907
kmsKeyArn="arn:aws:kms:us-east-1:123456789012:key/abc123",
904908
exceptionLevel="DEBUG",
905909
)

0 commit comments

Comments
 (0)