test: 覆盖使用统计归属日期过滤

This commit is contained in:
souplearn 2026-07-25 05:42:40 +08:00
parent 1dc6372956
commit 7aded6b480

View File

@ -868,6 +868,14 @@ def test_approved_allocations_query_requires_approved_unvoided_matching_point_an
attendance_point_name="二厂",
),
_db_allocation(id=1006, report_id=1, report_item_id=102),
_db_allocation(
id=1007,
report_id=1,
report_item_id=101,
allocation_date=date(2026, 7, 26),
effective_minutes=999,
good_qty=999,
),
]
)
db.commit()