mirror of
https://github.com/manifoldbt/manifoldbt.git
synced 2026-08-24 22:48:05 +00:00
release: v0.10.0
This commit is contained in:
@@ -6,9 +6,20 @@ to the Rust-only golden test fixtures.
|
||||
import json
|
||||
import os
|
||||
|
||||
import pytest
|
||||
|
||||
import manifoldbt as bt
|
||||
from manifoldbt import run_with_parquet
|
||||
|
||||
# The golden fixtures were generated at full (Pro) resolution; the Community
|
||||
# resolution cap changes the equity-point count and the comparison is
|
||||
# meaningless. CI unlocks via BT_UNLOCKED=1 (debug builds); locally this needs
|
||||
# an activated Pro license.
|
||||
pytestmark = pytest.mark.skipif(
|
||||
bt.license_info()[0] != "Pro",
|
||||
reason="requires Pro (fixtures generated at sub-daily resolution); activate a license or use a BT_UNLOCKED dev build",
|
||||
)
|
||||
|
||||
|
||||
def test_golden_buy_and_hold_matches_fixtures(golden_buy_hold_dir):
|
||||
"""Mirror of Rust golden_buy_and_hold_equity_trade_metrics_and_manifest_match_fixture."""
|
||||
|
||||
Reference in New Issue
Block a user