feat(account-supply): 提高全局供给默认目标

This commit is contained in:
yml
2026-11-22 09:30:53 +08:00
parent 2eb20f0d32
commit 2d1311820c
4 changed files with 37 additions and 12 deletions
+12
View File
@@ -183,6 +183,18 @@ def test_default_supply_targets_are_seeded_once(db, monkeypatch):
assert [row.value_class for row in targets] == ["high_value", "ordinary"]
assert all(row.scope == "elite" for row in targets)
assert all(row.enabled for row in targets)
assert [
(
row.target_covered,
row.target_available,
row.target_allocatable,
row.safety_buffer,
)
for row in targets
] == [
(2000, 300, 200, 60),
(1800, 200, 150, 60),
]
def test_default_supply_targets_can_be_disabled(db, monkeypatch):