feat(CORE-001B): migrate overview and hedge math to unit types
This commit is contained in:
@@ -193,8 +193,12 @@ def test_homepage_and_options_page_render() -> None:
|
||||
assert "$222,000" in hedge_text
|
||||
assert "80.0%" in hedge_text
|
||||
assert "$12,345" in hedge_text
|
||||
assert "Scenario spot" in hedge_text
|
||||
assert "$3,520.00" in hedge_text
|
||||
assert "Unhedged equity" in hedge_text
|
||||
assert "$552,400" in hedge_text
|
||||
assert "Hedged equity" in hedge_text
|
||||
assert "$551,025" in hedge_text
|
||||
page.screenshot(path=str(ARTIFACTS / "hedge.png"), full_page=True)
|
||||
|
||||
browser.close()
|
||||
|
||||
Reference in New Issue
Block a user