File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ [qsl ]
2+ repo = " FirstradePlatform"
3+ tier = " runtime-platform"
4+ ring = 3
5+ allow_legacy = false
6+
7+ [qsl .requires ]
8+ quant_platform_kit = " 0063af3b4a974650ea58a7d3f26dd1b94f65d3e8"
9+ us_equity_strategies = " 46887bc3f5454d5b59623b1f5efb7c65912c6b8b"
10+
11+ [qsl .compat ]
12+ bundle = " 2026.07.0"
Original file line number Diff line number Diff line change 1+ from __future__ import annotations
2+
3+ from pathlib import Path
4+ import tomllib
5+
6+
7+ def test_qsl_metadata_has_runtime_platform_fields () -> None :
8+ qsl_path = Path (__file__ ).resolve ().parents [1 ] / "qsl.toml"
9+ with qsl_path .open ("rb" ) as f :
10+ qsl = tomllib .load (f )["qsl" ]
11+
12+ assert qsl ["tier" ] == "runtime-platform"
13+ assert qsl ["ring" ] == 3
14+ assert qsl .get ("repo" ) == "FirstradePlatform"
15+ assert qsl ["compat" ]["bundle" ] == "2026.07.0"
16+ requires = qsl ["requires" ]
17+ assert "quant_platform_kit" in requires
18+ assert "us_equity_strategies" in requires
You can’t perform that action at this time.
0 commit comments