mirror of
https://github.com/manifoldbt/manifoldbt.git
synced 2026-08-24 22:48:05 +00:00
Initial commit: manifoldbt public repo
Python DSL, examples, docs, benchmarks, and tests. Rust engine distributed as pre-compiled wheel via PyPI.
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
import os
|
||||
|
||||
import pytest
|
||||
|
||||
_CRATE_ROOT = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
|
||||
GOLDEN_ROOT = os.path.join(
|
||||
_CRATE_ROOT, "..", "bt-core", "tests", "fixtures", "golden",
|
||||
)
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def golden_buy_hold_dir():
|
||||
"""Path to the buy_and_hold golden fixture directory."""
|
||||
path = os.path.join(GOLDEN_ROOT, "buy_and_hold", "v1")
|
||||
assert os.path.isdir(path), f"golden fixture dir not found: {path}"
|
||||
return path
|
||||
Reference in New Issue
Block a user