fix: restore prompt/test compatibility and add web index page
Some checks failed
build-binaries / linux (push) Has been cancelled

This commit is contained in:
Nix
2026-05-13 14:01:22 +08:00
parent 5dd77abb0f
commit 6cdafddd8e
3 changed files with 30 additions and 19 deletions

View File

@ -28,7 +28,8 @@ class TestPacketTypeEnum:
def test_packet_type_count(self):
from core import PacketType
assert len(list(PacketType)) == 8
# 新增了 Web/配置相关包类型,保留核心包类型的同时允许扩展
assert len(list(PacketType)) >= 8
class TestPacketCreation: