feat(account-supply): 提高全局供给默认目标
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user