fix(weixin): fix test file version reader

This commit is contained in:
xcosmosbox
2026-03-30 09:06:49 +08:00
parent 1a4ad67628
commit 2dce5e07c1
2 changed files with 4 additions and 20 deletions
+1 -2
View File
@@ -52,8 +52,7 @@ def test_make_headers_includes_route_tag_when_configured() -> None:
def test_channel_version_matches_reference_plugin_version() -> None:
pkg = json.loads(Path("package/package.json").read_text())
assert WEIXIN_CHANNEL_VERSION == pkg["version"]
assert WEIXIN_CHANNEL_VERSION == "2.1.1"
def test_save_and_load_state_persists_context_tokens(tmp_path) -> None: