test(main): replace brittle smoke checks with AST contracts

This commit is contained in:
2026-02-16 00:31:38 +03:00
parent cd5e6e1f6b
commit db5d901435
3 changed files with 115 additions and 61 deletions

View File

@@ -49,7 +49,7 @@ UPDATE_REPOSITORY = ""
UPDATE_REPOSITORY_URL = "https://git.daemonlord.ru/benya/AnabasisChatRemove"
UPDATE_CHANNEL_DEFAULT = "stable"
UPDATE_REQUEST_TIMEOUT = 8
AUTH_ERROR_CONTEXTS = ("load_chats", "execute_user_action", "set_user_admin", "_unused")
AUTH_ERROR_CONTEXTS = ("load_chats", "execute_user_action", "set_user_admin")
def get_resource_path(relative_path):