Skip to content

Commit 335ea41

Browse files
committed
test: clarify legacy data conversion comments in database store tests and add new test database files
1 parent b8504cf commit 335ea41

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

tests/server/tasks/test_database_push_notification_config_store.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -768,7 +768,7 @@ async def test_get_0_3_push_notification_config_detailed(
768768
await session.execute(stmt)
769769

770770
# 3. Retrieve the config using the standard store.get_info()
771-
# This will trigger the DatabasePushNotificationConfigStore._from_orm legacy fallback
771+
# This will trigger the DatabasePushNotificationConfigStore._from_orm legacy conversion
772772
retrieved_configs = await db_store_parameterized.get_info(
773773
task_id, context_user
774774
)

tests/server/tasks/test_database_task_store.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -774,7 +774,7 @@ async def test_get_0_3_task_detailed(
774774
await session.execute(stmt)
775775

776776
# 3. Retrieve the task using the standard store.get()
777-
# This will trigger conversion from legacy to 1.0 format in _from_orm method
777+
# This will trigger conversion from legacy to 1.0 format in the _from_orm method
778778
retrieved_task = await db_store_parameterized.get(task_id, context_user)
779779

780780
# 4. Verify the conversion to modern Protobuf

0 commit comments

Comments
 (0)