From 7aded6b480c13df3a3cabaad5fb587703577d931 Mon Sep 17 00:00:00 2001 From: souplearn Date: Sat, 25 Jul 2026 05:42:40 +0800 Subject: [PATCH] =?UTF-8?q?test:=20=E8=A6=86=E7=9B=96=E4=BD=BF=E7=94=A8?= =?UTF-8?q?=E7=BB=9F=E8=AE=A1=E5=BD=92=E5=B1=9E=E6=97=A5=E6=9C=9F=E8=BF=87?= =?UTF-8?q?=E6=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/test_usage_stats.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/test_usage_stats.py b/tests/test_usage_stats.py index 4896a0b..9b0a543 100644 --- a/tests/test_usage_stats.py +++ b/tests/test_usage_stats.py @@ -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()