airtest.core.settings module

class Settings[source]

Bases: object

DEBUG = False
LOG_DIR = None
LOG_FILE = 'log.txt'
static RESIZE_METHOD(w, h, sch_resolution, src_resolution, design_resolution=(960, 640))

图像缩放规则: COCOS中的MIN策略.

CVSTRATEGY = ['surf', 'tpl', 'brisk']
KEYPOINT_MATCHING_PREDICTION = True
THRESHOLD = 0.7
THRESHOLD_STRICT = 0.7
OPDELAY = 0.1
FIND_TIMEOUT = 20
FIND_TIMEOUT_TMP = 3
PROJECT_ROOT = ''
SNAPSHOT_QUALITY = 10