squid-main-space / tests /test_classification_cleanup_v466.py
Zin299's picture
Deploy v4.6.20 agent reliability fixes
c175ac0
Raw
History Blame
677 Bytes
from pathlib import Path
ROOT=Path(__file__).resolve().parents[1]
def test_version():
assert (ROOT/'VERSION').read_text(encoding='utf-8').strip()=='4.6.20'
def test_seaaroundus_alias():
py=(ROOT/"sidebar_catalog.py").read_text(encoding="utf-8")
assert '"seaaroundus"' in py
def test_metadata_root_paths_are_auxiliary():
py=(ROOT/"routes"/"datasets.py").read_text(encoding="utf-8")
assert '"metadata/"' in py
assert '"preflight_reports/"' in py
def test_inventory_and_logbook_are_auxiliary_terms():
py=(ROOT/"routes"/"datasets.py").read_text(encoding="utf-8")
assert '"legacy_asset_inventory"' in py
assert '"logbook_availability"' in py