REPOSITORY
via/alice-sdv-demo Private
A-SW 코드-배포 파이프라인 검증용 ALICE SDV 예제
https://git.agrithing.ai/via/alice-sdv-demo.git 26a84fb ci: add Python static and dynamic analysis
5cf6f47 ci: add Python static and dynamic analysis
66b95ca chore: synchronize ALICE SDV pipeline sample
e5ffbdf chore: synchronize ALICE SDV pipeline sample
5492626 chore: synchronize ALICE SDV pipeline sample
3dacbfe chore: synchronize ALICE SDV pipeline sample
b3ffe5d chore: synchronize ALICE SDV pipeline sample
ab90e6f tune: harden simulator deployment policy
3703ddb test: validate package and deployment fixtures
7b2437e feat: define local simulator deployment target
8e49864 feat: add deployable package manifest
3e29341 chore: synchronize ALICE SDV pipeline sample
6feeead feat: add ALICE SDV pipeline sample
2 items · main
·/ tests/test_pipeline_fixtures.py
python · 800 B · 1b5a2c2 Download
import jsonimport unittestfrom pathlib import PathROOT = Path(__file__).resolve().parents[1]class PipelineFixturesTest(unittest.TestCase): def test_package_manifest_references_existing_inputs(self) -> None: manifest = json.loads((ROOT / "package/manifest.json").read_text()) referenced = manifest["contracts"] + manifest["profiles"] + manifest["routes"] self.assertTrue(all((ROOT / path).is_file() for path in referenced)) def test_local_target_has_health_check_and_rollback(self) -> None: deployment = (ROOT / "deploy/local-simulator.yaml").read_text() self.assertIn("healthCheck:", deployment) self.assertIn("rollback:", deployment) self.assertIn("enabled: true", deployment)if __name__ == "__main__": unittest.main()