Files
dockipelago/worlds/soe/test/test_manifest.py
black-sliver 283badfc7e SoE: add apworld manifest (#5557)
* SoE: add APWorld manifest

* SoE: small typing fixes
2025-11-11 18:16:38 +00:00

15 lines
606 B
Python

import json
from pathlib import Path
from unittest import TestCase, skipUnless
@skipUnless((Path(__file__).parent.parent / "tools" / "make_manifest.py").exists(), "Packaged without tools")
class ManifestTest(TestCase):
def test_manifest_is_up_to_date(self) -> None:
from ..tools.make_manifest import make_manifest
expected_manifest = make_manifest()
with (Path(__file__).parent.parent / "archipelago.json").open("r", encoding="utf-8") as f:
actual_manifest = json.load(f)
self.assertEqual(actual_manifest, expected_manifest, "Manifest is not up to date")