修复福袋详情OCR v2与调试日志

This commit is contained in:
Your Name committed 2026-06-03 01:22:13 +08:00
1 parent 2c6f024a24
commit 1d37d57c90
119 files changed
+5582 -767

No files matched your search

+22
View File
@@ -176,6 +176,28 @@ class TestReservationLogicCommon:
)
assert isinstance(_RESERVATION_ERROR_UTILS_AVAILABLE, bool)
def test_add_and_attend_window_import_error_flag(self):
from douyin.reservation.reservation_logic import add, attend_window
assert isinstance(add._RESERVATION_ERROR_UTILS_AVAILABLE, bool)
assert isinstance(attend_window._RESERVATION_ERROR_UTILS_AVAILABLE, bool)
def test_attend_window_imports_runtime_helpers(self):
from douyin.reservation.reservation_logic import attend_window
from douyin.reservation.reservation_logic.cleanup_validate import (
cleanup_expired_reservations,
)
assert attend_window.cleanup_expired_reservations is cleanup_expired_reservations
def test_seek_room_imports_dump_state_helper(self):
from douyin.reservation.douyin_reservation_handler_pkg import seek_room
from douyin.reservation.douyin_reservation_handler_pkg.dump_state import (
_dump_room_pos_map_to_state,
)
assert seek_room._dump_room_pos_map_to_state is _dump_room_pos_map_to_state
# ============================================================
# logging_wrapper_pkg._common