mirror of
https://github.com/manifoldbt/manifoldbt.git
synced 2026-11-02 07:56:11 +00:00
tests: skip the one detector call in the baked-parameter suite
The other two tests in the file run plain backtests on daily data and still measure the leak on a Community wheel; only the detect_lookahead call is Pro-gated, so the guard is per-test.
This commit is contained in:
@@ -116,6 +116,13 @@ def test_a_parameter_baked_at_research_time_flatters_the_result(tmp_path):
|
||||
)
|
||||
|
||||
|
||||
# The one test here that needs the DETECTOR, which is Pro-gated. The other
|
||||
# two run plain backtests on daily data and measure the same leak without
|
||||
# it, which is exactly what a Community wheel can still verify.
|
||||
@pytest.mark.skipif(
|
||||
bt.license_info()[0] != "Pro",
|
||||
reason="requires Pro: the look-ahead detector is gated",
|
||||
)
|
||||
def test_re_running_alone_returns_a_clean_verdict(tmp_path):
|
||||
"""A clean verdict here is the correct answer for what re-running measures.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user