| self = <tests.test_trading_plan_order_types.TestOrderTypeEdgeCases object at 0x123f43710>
|
| monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x12437c410>
|
|
|
| def test_limit_price_normalization_stocks(self, monkeypatch):
|
| """Stock limit_price=150.256 → normalized to 150.26."""
|
| stub = OrderTypeBrokerStub()
|
| _patch_common(monkeypatch, stub)
|
| plan = make_plan(limit_price=150.256)
|
|
|
| executor.worker_single_plan(plan)
|
|
|
| > assert stub.buy_stock_limit_calls
|
| E assert []
|
| E + where [] = <tests.test_trading_plan_order_types.OrderTypeBrokerStub object at 0x1211efe90>.buy_stock_limit_calls
|
|
|
| tests/test_trading_plan_order_types.py:402: AssertionError
|