New paste Repaste Download
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x16d7f01f0>
    def test_indicator_cli_volume_trend(monkeypatch):
        monkeypatch.setattr("rtrader.cli.indicator_cli.CMFService", StubCMFService)
    
        runner = CliRunner()
        result = runner.invoke(
            indicator_group,
            [
                "test",
                "--date",
                "2025-10-01",
                "--type",
                "volume_trend",
                "--symbol",
                "ASAN",
            ],
        )
    
        assert result.exit_code == 0, result.output
>       assert "Trending Up" in result.output
E       AssertionError: assert 'Trending Up' in 'Symbol  Status              Indices      Trending  Span(hrs)  Window(min)\n------  ------------------  -----------  --------  ---------  -----------\nASAN    Not Trending        69,18,48     No             4.25           30\n'
E        +  where 'Symbol  Status              Indices      Trending  Span(hrs)  Window(min)\n------  ------------------  -----------  --------  ---------  -----------\nASAN    Not Trending        69,18,48     No             4.25           30\n' = <Result okay>.output
tests/cli/test_indicator_cli.py:67: AssertionError
Filename: None. Size: 1kb. View raw, , hex, or download this file.

This paste expires on 2025-10-11 22:07:59.222783. Pasted through deprecated-web.