fix: align schema 15 settlement tests and integer validation

This commit is contained in:
2026-10-17 15:58:28 +09:00
parent 38a854d525
commit a97548c36b
8 changed files with 76 additions and 144 deletions
+2 -2
View File
@@ -73,8 +73,8 @@ def test_unsupported_valuation_operations_do_not_create_or_access_db(tmp_path):
path = tmp_path / "must-not-exist.sqlite3"
result = register_account_valuation("acct", "2026-09-30", 1, db_path=str(path))
listed = list_account_valuations("acct", db_path=str(path))
assert result["success"] is False and result["error_code"] == "unsupported"
assert listed["success"] is False and listed["error_code"] == "unsupported"
assert result["success"] is False and result["error_code"] == "validation_error"
assert listed["success"] is False and listed["error_code"] == "db_error"
assert not path.exists()