docs: clarify Python module responsibilities
Rewrite the module-level descriptions for all 28 Python files and remove the obsolete integration note from grok_register_ttk.py. Verified on Python 3.9 and Python 3.12.
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
"""标记测试包并集中承载项目测试模块。"""
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
"""验证 CPA 浏览器会话的复用、取消、代理和清理行为。"""
|
||||
|
||||
import unittest
|
||||
from cpa_xai import browser_session
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
"""验证 Cloudflare 临时邮箱 admin 创建和鉴权接口行为。"""
|
||||
|
||||
import unittest
|
||||
from unittest.mock import patch
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
"""验证 CPA 凭证结构、写入和核心 mint 流程。"""
|
||||
|
||||
import tempfile
|
||||
import unittest
|
||||
from pathlib import Path
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
"""验证 grok2api 远端 token 入池及并发安全回退逻辑。"""
|
||||
|
||||
import sys
|
||||
import types
|
||||
import unittest
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
"""验证后处理警告、邮件重试、目标锁和常量兼容边界。"""
|
||||
|
||||
import json
|
||||
import tempfile
|
||||
import unittest
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
"""验证主模块对拆分模块公开函数和运行状态的兼容代理。"""
|
||||
|
||||
import unittest
|
||||
from unittest.mock import patch
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
"""验证 OAuth Device Authorization 的发现、重试、轮询和错误处理。"""
|
||||
|
||||
import json
|
||||
import unittest
|
||||
from unittest.mock import patch
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
"""验证 pending 账号恢复的去重、锁、原子更新和异常处理。"""
|
||||
|
||||
import json
|
||||
import os
|
||||
import tempfile
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
"""验证模块化改造后的配置、浏览器、邮箱和兼容性回归。"""
|
||||
|
||||
import json
|
||||
import tempfile
|
||||
import unittest
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
"""验证共享注册流程的重试、统计、取消、清理和后处理边界。"""
|
||||
|
||||
import unittest
|
||||
|
||||
from registration_flow import (
|
||||
|
||||
Reference in New Issue
Block a user