self = mock_find = @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