test: align postgres precision error assertion text
Co-authored-by: genichin <4282227+genichin@users.noreply.github.com>
This commit is contained in:
co-authored by
genichin
parent
b74284e626
commit
6df3e4ba02
@@ -344,7 +344,7 @@ def test_dividend_large_integer_with_8dp_is_rejected_to_protect_double_snapshot(
|
|||||||
repo = _repo(isolated_settings)
|
repo = _repo(isolated_settings)
|
||||||
portfolio_id = _seed_portfolio(repo, "double-snapshot-guard")
|
portfolio_id = _seed_portfolio(repo, "double-snapshot-guard")
|
||||||
|
|
||||||
with pytest.raises(ValueError, match="double snapshot precision"):
|
with pytest.raises(ValueError, match="DOUBLE PRECISION snapshot"):
|
||||||
repo.record_manual_ledger(
|
repo.record_manual_ledger(
|
||||||
portfolio_id,
|
portfolio_id,
|
||||||
action="DIVIDEND",
|
action="DIVIDEND",
|
||||||
|
|||||||
Reference in New Issue
Block a user