Skip to content

Commit e71a62c

Browse files
HyeockJinKimclaude
andcommitted
fix(BA-6031): pass RouteStatus enum directly to RouteHistoryRow fixture
StrEnumType.process_bind_param expects the enum object, not a plain string. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 9e8745d commit e71a62c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/unit/manager/repositories/deployment/test_deployment_repository_history.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1457,8 +1457,8 @@ async def test_route_with_history(
14571457
route_id=route_id,
14581458
deployment_id=endpoint_id,
14591459
phase="provisioning",
1460-
from_status=str(RouteStatus.PROVISIONING.value),
1461-
to_status=str(RouteStatus.PROVISIONING.value),
1460+
from_status=RouteStatus.PROVISIONING,
1461+
to_status=RouteStatus.PROVISIONING,
14621462
result=str(SchedulingResult.FAILURE),
14631463
error_code="SESSION_CREATION_FAILED",
14641464
message="Session creation failed",

0 commit comments

Comments
 (0)