mirror of
https://github.com/QuantEngines/fx_quant_engine.git
synced 2026-07-28 02:47:50 +00:00
12 lines
346 B
Python
12 lines
346 B
Python
from pathlib import Path
|
|
|
|
from options_quant_engine.utils.config import load_all_configs
|
|
|
|
|
|
def test_load_all_configs() -> None:
|
|
root = Path(__file__).resolve().parents[1]
|
|
cfg = load_all_configs(root / "config")
|
|
assert "universe" in cfg
|
|
assert "data_sources" in cfg
|
|
assert cfg["data_sources"]["enabled_sources"]["nse"] is True
|