mirror of
https://github.com/pewdiepie-archdaemon/odysseus.git
synced 2026-10-04 05:52:19 +02:00
Squash Odysseus development history
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
from pathlib import Path
|
||||
import re
|
||||
|
||||
|
||||
ROOT = Path(__file__).resolve().parents[1]
|
||||
|
||||
|
||||
def test_original_harness_version_is_canonical_semver() -> None:
|
||||
version = (ROOT / "HARNESS_VERSION").read_text(encoding="utf-8").strip()
|
||||
|
||||
assert version == "0.20.5"
|
||||
assert re.fullmatch(r"\d+\.\d+\.\d+", version)
|
||||
|
||||
|
||||
def test_runtime_build_version_uses_canonical_harness_version() -> None:
|
||||
from core.constants import APP_BUILD_VERSION
|
||||
|
||||
version = (ROOT / "HARNESS_VERSION").read_text(encoding="utf-8").strip()
|
||||
assert APP_BUILD_VERSION == version
|
||||
|
||||
|
||||
def test_original_harness_does_not_ship_benchmark_adapter() -> None:
|
||||
assert not (ROOT / "odysseus_native_harbor_agent.py").exists()
|
||||
Reference in New Issue
Block a user