
self = <test_scalp_spy_rsi_gate.TestGetSpyRet5dForDate object at 0x122f2bdd0>
mock_find = <MagicMock name='find_snapshot_json' id='4881299216'>

    @patch("rtrader.utils.nfs.find_snapshot_json")
    def test_returns_none_when_no_snapshot(self, mock_find):
        mock_find.return_value = None
        result = _get_spy_ret_5d_for_date("2026-04-10")
>       assert result is None
E       assert 0.036963555338501965 is None

tests/services/test_scalp_spy_rsi_gate.py:119: AssertionError
