New paste Repaste Download
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
Filename: None. Size: 713b. View raw, , hex, or download this file.

This paste expires on 2026-06-29 22:43:15.773811+00:00. Pasted through deprecated-web.