New paste Repaste Download
    def test_pm2_hot_live_service_queued_for_ack():
        # channel-scalp is live-trading → queued for ack, NEVER auto-fired, even hot.
        git = _pm2_git({"H0..H1": ["c1"]}, {"c1": "[web-hotfix] scalp fix"},
                       {"c1": ["rtrader/services/channel_scalp_service.py"]})
        db, rec = FakeDB(), _Recorder()
        state = {"last_pm2_sha": "H0"}
        res = WRM.process_pm2_restarts(_et(2026, 7, 10, 10, 0), _cfg(pm2_restart_enabled=True),
                                       _deps(git, db, rec), "H1", state, origin=WRM.ORIGIN_LIVE)
>       assert res["fired"] == 1
E       assert 0 == 1
tests/services/test_release_manager.py:712: AssertionError
Filename: None. Size: 681b. View raw, , hex, or download this file.

This paste expires on 2026-07-26 15:30:18.579039+00:00. Pasted through deprecated-web.