Skip to content

Commit 6fd4659

Browse files
author
Suresh Kumar Moharajan
committed
fix formatting and precommit
Signed-off-by: Suresh Kumar Moharajan <suresh.kumar.m@ibm.com>
1 parent 17f37bc commit 6fd4659

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tests/unit/mcpgateway/services/test_prompt_service.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1218,11 +1218,11 @@ async def test_register_prompt_content_pattern_error(self, prompt_service, test_
12181218

12191219
# Verify rollback was called
12201220
test_db.rollback.assert_called_once()
1221-
1221+
12221222
# Verify logger.error was called (covers line 908)
12231223
mock_logger.error.assert_called_once()
12241224
assert "__import__" in str(mock_logger.error.call_args)
1225-
1225+
12261226
# Verify structured_logger.log was called (covers lines 909-918)
12271227
mock_structured_logger.log.assert_called_once()
12281228
call_args = mock_structured_logger.log.call_args
@@ -1242,7 +1242,7 @@ async def test_update_prompt_with_content_pattern_error(self, prompt_service, te
12421242
existing = _build_db_prompt()
12431243
existing.team_id = "team-123"
12441244
test_db.get = Mock(return_value=existing)
1245-
1245+
12461246
test_db.execute = Mock(
12471247
side_effect=[
12481248
_make_execute_result(scalar=existing), # get_for_update call
@@ -1277,11 +1277,11 @@ async def test_update_prompt_with_content_pattern_error(self, prompt_service, te
12771277

12781278
# Verify rollback was called (covers line 2444)
12791279
test_db.rollback.assert_called_once()
1280-
1280+
12811281
# Verify logger.error was called (covers line 2445)
12821282
mock_logger.error.assert_called_once()
12831283
assert "eval(" in str(mock_logger.error.call_args)
1284-
1284+
12851285
# Verify structured_logger.log was called (covers line 2446)
12861286
mock_structured_logger.log.assert_called_once()
12871287
call_args = mock_structured_logger.log.call_args

0 commit comments

Comments
 (0)