SYMBOL INDEX (509 symbols across 43 files) FILE: core/api/collector.py class ApiRequestCollector (line 7) | class ApiRequestCollector: method __init__ (line 9) | def __init__(self): method collect_flag (line 24) | def collect_flag(self, api_data, arg_name): method collect_other (line 32) | def collect_other(self, api_data, arg_name, func=lambda x: x): method collect_context (line 38) | def collect_context(self, api_data, arg_name): method collect_id (line 44) | def collect_id(self, api_data): method collect_name (line 47) | def collect_name(self, api_data): method collect_protocol (line 50) | def collect_protocol(self, api_data): method collect_method (line 53) | def collect_method(self, api_data): method collect_url (line 60) | def collect_url(self, api_data): method collect_path (line 66) | def collect_path(self, api_data): method collect_controller (line 82) | def collect_controller(self, api_data): method collect_conditions (line 99) | def collect_conditions(self, api_data): method collect_looper (line 103) | def collect_looper(self, api_data): method collect_query (line 107) | def collect_query(self, api_data): method collect_headers (line 113) | def collect_headers(self, api_data): method collect_cookies (line 116) | def collect_cookies(self, api_data): method collect_proxies (line 127) | def collect_proxies(self, api_data): method collect_body (line 130) | def collect_body(self, api_data): method collect_stream (line 154) | def collect_stream(self, api_data): method collect_verify (line 163) | def collect_verify(self, api_data): method collect_auth (line 172) | def collect_auth(self, api_data): method collect_timeout (line 175) | def collect_timeout(self, api_data): method collect_allow_redirects (line 181) | def collect_allow_redirects(self, api_data): method collect_hooks (line 184) | def collect_hooks(self, api_data): method collect_cert (line 187) | def collect_cert(self, api_data): method collect_assertions (line 190) | def collect_assertions(self, api_data): method collect_relations (line 193) | def collect_relations(self, api_data): method collect (line 196) | def collect(self, api_data): class UnDefinableMethodError (line 224) | class UnDefinableMethodError(Exception): class UnDefinablePathError (line 228) | class UnDefinablePathError(Exception): class NotExistedFieldError (line 232) | class NotExistedFieldError(Exception): class NotExistedFileUploadType (line 236) | class NotExistedFileUploadType(Exception): FILE: core/api/testcase.py class ApiTestCase (line 12) | class ApiTestCase: method __init__ (line 14) | def __init__(self, test): method execute (line 29) | def execute(self): method loop_execute (line 35) | def loop_execute(self, api_list, loop_id, step_n=0): method render_looper (line 100) | def render_looper(self, looper): method render_conditions (line 111) | def render_conditions(self, conditions): method render_sql (line 115) | def render_sql(self, sql): method render_content (line 119) | def render_content(self, step): method render_json (line 167) | def render_json(self, step, data, name, pop_key=None): FILE: core/api/teststep.py class ApiTestStep (line 25) | class ApiTestStep: method __init__ (line 27) | def __init__(self, test, session, collector, context, params): method execute (line 42) | def execute(self): method looper_controller (line 105) | def looper_controller(self, case, api_list, step_n): method condition_controller (line 127) | def condition_controller(self, case): method exec_script (line 140) | def exec_script(self, code): method exec_sql (line 170) | def exec_sql(self, sql, case): method save_response (line 191) | def save_response(self, res): method extract_depend_params (line 205) | def extract_depend_params(self): method check (line 233) | def check(self): method pop_content_type (line 267) | def pop_content_type(self): function dict2str (line 279) | def dict2str(data): class RemoveParamError (line 286) | class RemoveParamError(Exception): class AssertRelationError (line 290) | class AssertRelationError(Exception): FILE: core/app/collector.py class AppOperationCollector (line 4) | class AppOperationCollector: method __init__ (line 6) | def __init__(self): method __parse (line 17) | def __parse(ui_data: dict, name): method collect_id (line 22) | def collect_id(self, ui_data): method collect_opt_type (line 25) | def collect_opt_type(self, ui_data): method collect_opt_system (line 28) | def collect_opt_system(self, ui_data): method collect_opt_name (line 31) | def collect_opt_name(self, ui_data): method collect_opt_trans (line 34) | def collect_opt_trans(self, ui_data): method collect_opt_code (line 37) | def collect_opt_code(self, ui_data): method collect_opt_element (line 40) | def collect_opt_element(self, ui_data): method collect_opt_data (line 60) | def collect_opt_data(self, ui_data): method collect (line 67) | def collect(self, ui_data): FILE: core/app/device/__init__.py class AndroidDriver (line 6) | class AndroidDriver(Device): method __call__ (line 8) | def __call__(self, **kwargs): method find_element (line 14) | def find_element(self, **kwargs): class AppleDevice (line 21) | class AppleDevice(Client): method session (line 23) | def session(self, method find_element (line 32) | def find_element(self, **kwargs): function connect_device (line 36) | def connect_device(system: str, url: str): class Operation (line 43) | class Operation(object): method __init__ (line 44) | def __init__(self, test, device): method find_element (line 49) | def find_element(self, ele): class ElementNotFoundError (line 60) | class ElementNotFoundError(Exception): class ElementNotDisappearError (line 64) | class ElementNotDisappearError(Exception): FILE: core/app/device/assertionOpt.py class Assertion (line 7) | class Assertion(Operation): method assert_ele_exists (line 10) | def assert_ele_exists(self, element, assertion, expect): method assert_ele_text (line 22) | def assert_ele_text(self, system, element, assertion, expect): method assert_ele_attribute (line 37) | def assert_ele_attribute(self, element, attribute, assertion, expect): method assert_ele_center (line 49) | def assert_ele_center(self, system, element, assertion, expect): method assert_ele_x (line 66) | def assert_ele_x(self, system, element, assertion, expect): method assert_ele_y (line 83) | def assert_ele_y(self, system, element, assertion, expect): method assert_alert_exists (line 100) | def assert_alert_exists(self, assertion, expect): method assert_alert_text (line 112) | def assert_alert_text(self, assertion, expect): method custom (line 124) | def custom(self, **kwargs): FILE: core/app/device/conditionOpt.py class Condition (line 8) | class Condition(Operation): method condition_ele_exists (line 11) | def condition_ele_exists(self, element, assertion, expect): method condition_ele_text (line 23) | def condition_ele_text(self, system, element, assertion, expect): method condition_ele_attribute (line 38) | def condition_ele_attribute(self, element, attribute, assertion, expect): method condition_ele_center (line 50) | def condition_ele_center(self, system, element, assertion, expect): method condition_ele_x (line 67) | def condition_ele_x(self, system, element, assertion, expect): method condition_ele_y (line 84) | def condition_ele_y(self, system, element, assertion, expect): method condition_alert_exists (line 101) | def condition_alert_exists(self, assertion, expect): method condition_alert_text (line 113) | def condition_alert_text(self, assertion, expect): method custom (line 125) | def custom(self, **kwargs): FILE: core/app/device/relationOpt.py class Relation (line 7) | class Relation(Operation): method get_window_size (line 9) | def get_window_size(self, system, save_name): method get_window_width (line 25) | def get_window_width(self, system, save_name): method get_window_height (line 41) | def get_window_height(self, system, save_name): method get_ele_text (line 57) | def get_ele_text(self, system, element, save_name): method get_ele_center (line 71) | def get_ele_center(self, system, element, save_name): method get_ele_x (line 87) | def get_ele_x(self, system, element, save_name): method get_ele_y (line 103) | def get_ele_y(self, system, element, save_name): method get_alert_text (line 119) | def get_alert_text(self, save_name): method custom (line 130) | def custom(self, **kwargs): FILE: core/app/device/scenarioOpt.py class Scenario (line 7) | class Scenario(Operation): method custom (line 10) | def custom(self, **kwargs): FILE: core/app/device/systemOpt.py class System (line 9) | class System(Operation): method start_app (line 12) | def start_app(self, app_id): method close_app (line 21) | def close_app(self, app_id): method swipe_left (line 30) | def swipe_left(self, system): method swipe_right (line 42) | def swipe_right(self, system): method swipe_up (line 54) | def swipe_up(self, system): method swipe_down (line 66) | def swipe_down(self, system): method home (line 78) | def home(self, system): method back (line 90) | def back(self): method press (line 99) | def press(self, keycode): method screenshot (line 108) | def screenshot(self, name): method screen_on (line 118) | def screen_on(self, system): method screen_off (line 130) | def screen_off(self, system): method sleep (line 142) | def sleep(self, second): method implicitly_wait (line 151) | def implicitly_wait(self, second): method custom (line 160) | def custom(self, **kwargs): FILE: core/app/device/viewOpt.py class View (line 9) | class View(Operation): method click (line 12) | def click(self, element): method double_click (line 21) | def double_click(self, system, element): method long_click (line 33) | def long_click(self, system, element, second): method click_coord (line 48) | def click_coord(self, x, y): method double_click_coord (line 57) | def double_click_coord(self, system, x, y): method long_click_coord (line 69) | def long_click_coord(self, system, x, y, second): method swipe (line 81) | def swipe(self, system, fx, fy, tx, ty, duration=None): method input_text (line 97) | def input_text(self, element, text): method clear_text (line 106) | def clear_text(self, system, element): method scroll_to_ele (line 123) | def scroll_to_ele(self, system, element, direction): method pinch_in (line 144) | def pinch_in(self, system, element): method pinch_out (line 156) | def pinch_out(self, system, element): method wait (line 168) | def wait(self, element, second): method wait_gone (line 182) | def wait_gone(self, system, element, second): method drag_to_ele (line 200) | def drag_to_ele(self, start_element, end_element): method drag_to_coord (line 209) | def drag_to_coord(self, element, x, y): method drag_coord (line 218) | def drag_coord(self, fx, fy, tx, ty): method swipe_ele (line 227) | def swipe_ele(self, element, direction): method alert_wait (line 236) | def alert_wait(self, second): method alert_accept (line 245) | def alert_accept(self): method alert_dismiss (line 254) | def alert_dismiss(self): method alert_click (line 263) | def alert_click(self, name): method custom (line 272) | def custom(self, **kwargs): FILE: core/app/find_opt.py function find_system_opt (line 9) | def find_system_opt(operate_name: str): function find_view_opt (line 86) | def find_view_opt(operate_name: str): function find_assertion_opt (line 194) | def find_assertion_opt(operate_name: str): function find_relation_opt (line 253) | def find_relation_opt(operate_name: str): function find_condition_opt (line 306) | def find_condition_opt(operate_name: str): function find_scenario_opt (line 365) | def find_scenario_opt(operate_name: str): FILE: core/app/testcase.py class AppTestCase (line 9) | class AppTestCase: method __init__ (line 10) | def __init__(self, test): method execute (line 25) | def execute(self): method loop_execute (line 34) | def loop_execute(self, opt_list, skip_opts, step_n=0): method get_opt_content (line 67) | def get_opt_content(elements): method before_execute (line 74) | def before_execute(self): method after_execute (line 87) | def after_execute(self): method render_looper (line 90) | def render_looper(self, looper): method render_content (line 104) | def render_content(self, step): FILE: core/app/teststep.py class AppTestStep (line 7) | class AppTestStep: method __init__ (line 8) | def __init__(self, test, device, context, collector): method execute (line 15) | def execute(self): method looper_controller (line 45) | def looper_controller(self, case, opt_list, step_n): method assert_controller (line 72) | def assert_controller(self): method condition_controller (line 90) | def condition_controller(self, current): method log_show (line 108) | def log_show(self): class NotExistedAppOperation (line 127) | class NotExistedAppOperation(Exception): FILE: core/assertion.py class LMAssert (line 8) | class LMAssert: method __init__ (line 11) | def __init__(self, position, actual_result, expected_result): method compare (line 16) | def compare(self): method str2none (line 142) | def str2none(value): method str2bool (line 149) | def str2bool(value): method str2num (line 158) | def str2num(value): method str2list (line 172) | def str2list(value): method str2dict (line 193) | def str2dict(value): method to_str (line 207) | def to_str(value): method list_len (line 218) | def list_len(value): class AssertionTypeNotExist (line 226) | class AssertionTypeNotExist(Exception): FILE: core/template.py class Template (line 13) | class Template: method __init__ (line 15) | def __init__(self, test, context, functions, params, variable_start_st... method init (line 36) | def init(self, data): method set_help_data (line 41) | def set_help_data(self, url, path: str, headers: dict, query: dict, bo... method render (line 48) | def render(self): method _bytes_save (line 145) | def _bytes_save(self, value, flag): method _bytes_slove (line 155) | def _bytes_slove(self, s, pattern): method replace_param (line 161) | def replace_param(self, param): method split_key (line 199) | def split_key(self, key: str): method split_func (line 218) | def split_func(self, statement: str, flag: 'str' = '@'): method concat (line 270) | def concat(start: int, arg_list: list, terminal_char: str): class SplitFunctionError (line 290) | class SplitFunctionError(Exception): FILE: core/web/collector.py class WebOperationCollector (line 16) | class WebOperationCollector: method __init__ (line 18) | def __init__(self): method __parse (line 28) | def __parse(ui_data: dict, name): method collect_id (line 33) | def collect_id(self, ui_data): method collect_opt_type (line 36) | def collect_opt_type(self, ui_data): method collect_opt_name (line 39) | def collect_opt_name(self, ui_data): method collect_opt_trans (line 42) | def collect_opt_trans(self, ui_data): method collect_opt_code (line 45) | def collect_opt_code(self, ui_data): method collect_opt_element (line 48) | def collect_opt_element(self, ui_data): method collect_opt_data (line 58) | def collect_opt_data(self, ui_data): method collect (line 65) | def collect(self, ui_data): FILE: core/web/driver/__init__.py class Operation (line 4) | class Operation(object): method __init__ (line 5) | def __init__(self, test, driver): method find_element (line 10) | def find_element(self, ele): method find_elements (line 20) | def find_elements(self, ele): FILE: core/web/driver/assertionOpt.py class Assertion (line 9) | class Assertion(Operation): method assert_page_title (line 12) | def assert_page_title(self, assertion, expect): method assert_page_url (line 24) | def assert_page_url(self, assertion, expect): method assert_page_source (line 36) | def assert_page_source(self, assertion, expect): method assert_ele_text (line 48) | def assert_ele_text(self, element, assertion, expect): method assert_ele_tag (line 62) | def assert_ele_tag(self, element, assertion, expect): method assert_ele_size (line 76) | def assert_ele_size(self, element, assertion, expect): method assert_ele_height (line 90) | def assert_ele_height(self, element, assertion, expect): method assert_ele_width (line 104) | def assert_ele_width(self, element, assertion, expect): method assert_ele_location (line 118) | def assert_ele_location(self, element, assertion, expect): method assert_ele_x (line 132) | def assert_ele_x(self, element, assertion, expect): method assert_ele_y (line 146) | def assert_ele_y(self, element, assertion, expect): method assert_ele_attribute (line 160) | def assert_ele_attribute(self, element, name, assertion, expect): method assert_ele_selected (line 174) | def assert_ele_selected(self, element, assertion, expect): method assert_ele_enabled (line 188) | def assert_ele_enabled(self, element, assertion, expect): method assert_ele_displayed (line 202) | def assert_ele_displayed(self, element, assertion, expect): method assert_ele_css (line 216) | def assert_ele_css(self, element, name, assertion, expect): method assert_ele_existed (line 230) | def assert_ele_existed(self, element, assertion, expect): method assert_window_position (line 246) | def assert_window_position(self, assertion, expect): method assert_window_x (line 258) | def assert_window_x(self, assertion, expect): method assert_window_y (line 270) | def assert_window_y(self, assertion, expect): method assert_window_size (line 282) | def assert_window_size(self, assertion, expect): method assert_window_width (line 294) | def assert_window_width(self, assertion, expect): method assert_window_height (line 306) | def assert_window_height(self, assertion, expect): method assert_cookies (line 318) | def assert_cookies(self, assertion, expect): method assert_cookie (line 330) | def assert_cookie(self, name, assertion, expect): method custom (line 342) | def custom(self, **kwargs): FILE: core/web/driver/browserOpt.py class Browser (line 12) | class Browser(Operation): method max_window (line 15) | def max_window(self): method min_window (line 24) | def min_window(self): method full_window (line 33) | def full_window(self): method set_position_window (line 42) | def set_position_window(self, x, y): method set_size_window (line 52) | def set_size_window(self, width, height): method switch_to_window (line 61) | def switch_to_window(self, window): method close_window (line 70) | def close_window(self): method save_screenshot (line 79) | def save_screenshot(self, name): method click_to_new_window (line 89) | def click_to_new_window(self, element): method back_and_close_window (line 112) | def back_and_close_window(self, window): method open_url (line 122) | def open_url(self, domain, path): method refresh (line 133) | def refresh(self): method back (line 142) | def back(self): method forward (line 151) | def forward(self): method add_cookie (line 160) | def add_cookie(self, name, value): method delete_cookie (line 169) | def delete_cookie(self, name): method delete_cookies (line 178) | def delete_cookies(self): method execute_script (line 187) | def execute_script(self, script, arg:tuple): method execute_async_script (line 198) | def execute_async_script(self, script, arg:tuple): method sleep (line 209) | def sleep(self, second): method implicitly_wait (line 218) | def implicitly_wait(self, second): method custom (line 227) | def custom(self, **kwargs): FILE: core/web/driver/conditionOpt.py class Condition (line 8) | class Condition(Operation): method condition_page_title (line 11) | def condition_page_title(self, assertion, expect): method condition_page_url (line 23) | def condition_page_url(self, assertion, expect): method condition_page_source (line 35) | def condition_page_source(self, assertion, expect): method condition_ele_text (line 47) | def condition_ele_text(self, element, assertion, expect): method condition_ele_tag (line 61) | def condition_ele_tag(self, element, assertion, expect): method condition_ele_size (line 75) | def condition_ele_size(self, element, assertion, expect): method condition_ele_height (line 89) | def condition_ele_height(self, element, assertion, expect): method condition_ele_width (line 103) | def condition_ele_width(self, element, assertion, expect): method condition_ele_location (line 117) | def condition_ele_location(self, element, assertion, expect): method condition_ele_x (line 131) | def condition_ele_x(self, element, assertion, expect): method condition_ele_y (line 145) | def condition_ele_y(self, element, assertion, expect): method condition_ele_attribute (line 159) | def condition_ele_attribute(self, element, name, assertion, expect): method condition_ele_selected (line 173) | def condition_ele_selected(self, element, assertion, expect): method condition_ele_enabled (line 187) | def condition_ele_enabled(self, element, assertion, expect): method condition_ele_displayed (line 201) | def condition_ele_displayed(self, element, assertion, expect): method condition_ele_css (line 215) | def condition_ele_css(self, element, name, assertion, expect): method condition_ele_existed (line 229) | def condition_ele_existed(self, element, assertion, expect): method condition_window_position (line 245) | def condition_window_position(self, assertion, expect): method condition_window_x (line 257) | def condition_window_x(self, assertion, expect): method condition_window_y (line 269) | def condition_window_y(self, assertion, expect): method condition_window_size (line 281) | def condition_window_size(self, assertion, expect): method condition_window_width (line 293) | def condition_window_width(self, assertion, expect): method condition_window_height (line 305) | def condition_window_height(self, assertion, expect): method condition_cookies (line 317) | def condition_cookies(self, assertion, expect): method condition_cookie (line 329) | def condition_cookie(self, name, assertion, expect): method custom (line 341) | def custom(self, **kwargs): FILE: core/web/driver/pageOpt.py class Page (line 12) | class Page(Operation): method switch_frame (line 15) | def switch_frame(self, frame): method switch_content (line 27) | def switch_content(self): method switch_parent (line 36) | def switch_parent(self): method alert_accept (line 45) | def alert_accept(self): method alert_input (line 55) | def alert_input(self, text): method alert_cancel (line 65) | def alert_cancel(self): method free_click (line 75) | def free_click(self): method clear (line 86) | def clear(self, element): method input_text (line 97) | def input_text(self, element, text): method click (line 108) | def click(self, element): method submit (line 119) | def submit(self, element): method click_and_hold (line 130) | def click_and_hold(self, element): method context_click (line 142) | def context_click(self, element): method double_click (line 154) | def double_click(self, element): method drag_and_drop (line 166) | def drag_and_drop(self, start_element, end_element): method drag_and_drop_by_offset (line 179) | def drag_and_drop_by_offset(self, element, x, y): method key_down (line 191) | def key_down(self, element, value): method key_up (line 207) | def key_up(self, element, value): method move_by_offset (line 223) | def move_by_offset(self, x, y): method move_to_element (line 234) | def move_to_element(self, element): method move_to_element_with_offset (line 246) | def move_to_element_with_offset(self, element, x, y): method release (line 258) | def release(self, element): method wait_element_appear (line 270) | def wait_element_appear(self, element, second): method wait_element_disappear (line 279) | def wait_element_disappear(self, element, second): method custom (line 288) | def custom(self, **kwargs): FILE: core/web/driver/relationOpt.py class Relation (line 8) | class Relation(Operation): method get_page_title (line 10) | def get_page_title(self, save_name): method get_page_url (line 21) | def get_page_url(self, save_name): method get_ele_text (line 32) | def get_ele_text(self, element, save_name): method get_ele_tag (line 45) | def get_ele_tag(self, element, save_name): method get_ele_size (line 58) | def get_ele_size(self, element, save_name): method get_ele_height (line 71) | def get_ele_height(self, element, save_name): method get_ele_width (line 84) | def get_ele_width(self, element, save_name): method get_ele_location (line 97) | def get_ele_location(self, element, save_name): method get_ele_x (line 110) | def get_ele_x(self, element, save_name): method get_ele_y (line 123) | def get_ele_y(self, element, save_name): method get_ele_attribute (line 136) | def get_ele_attribute(self, element, name, save_name): method get_ele_css (line 149) | def get_ele_css(self, element, name, save_name): method get_window_position (line 162) | def get_window_position(self, save_name): method get_window_x (line 173) | def get_window_x(self, save_name): method get_window_y (line 184) | def get_window_y(self, save_name): method get_window_size (line 195) | def get_window_size(self, save_name): method get_window_width (line 206) | def get_window_width(self, save_name): method get_window_height (line 217) | def get_window_height(self, save_name): method get_current_handle (line 228) | def get_current_handle(self, save_name): method get_all_handle (line 239) | def get_all_handle(self, save_name): method get_cookies (line 250) | def get_cookies(self, save_name): method get_cookie (line 261) | def get_cookie(self, name, save_name): method custom (line 272) | def custom(self, **kwargs): FILE: core/web/driver/scenarioOpt.py class Scenario (line 7) | class Scenario(Operation): method custom (line 10) | def custom(self, **kwargs): FILE: core/web/find_opt.py function find_browser_opt (line 9) | def find_browser_opt(operate_name: str): function find_page_opt (line 114) | def find_page_opt(operate_name: str): function find_assertion_opt (line 230) | def find_assertion_opt(operate_name: str): function find_relation_opt (line 366) | def find_relation_opt(operate_name: str): function find_condition_opt (line 476) | def find_condition_opt(operate_name: str): function find_scenario_opt (line 612) | def find_scenario_opt(operate_name: str): FILE: core/web/testcase.py class WebTestCase (line 9) | class WebTestCase: method __init__ (line 10) | def __init__(self, test): method execute (line 25) | def execute(self): method loop_execute (line 34) | def loop_execute(self, opt_list, skip_opts, step_n=0): method get_opt_content (line 67) | def get_opt_content(elements): method before_execute (line 74) | def before_execute(self): method after_execute (line 121) | def after_execute(self): method render_driver (line 128) | def render_driver(self, driver_setting): method render_looper (line 132) | def render_looper(self, looper): method render_content (line 146) | def render_content(self, step): FILE: core/web/teststep.py class WebTestStep (line 7) | class WebTestStep: method __init__ (line 8) | def __init__(self, test, driver, context, collector): method execute (line 15) | def execute(self): method looper_controller (line 44) | def looper_controller(self, case, opt_list, step_n): method assert_controller (line 71) | def assert_controller(self): method condition_controller (line 89) | def condition_controller(self, current): method log_show (line 107) | def log_show(self): class NotExistedWebOperation (line 126) | class NotExistedWebOperation(Exception): FILE: lm/lm_api.py class Api (line 9) | class Api(object): method __init__ (line 11) | def __init__(self): method request (line 18) | def request(self, url, data): method download (line 23) | def download(self, url): method save_token (line 29) | def save_token(token): method load_header (line 35) | def load_header(): class LMApi (line 41) | class LMApi(Api): method apply_token (line 43) | def apply_token(self): method fetch_task (line 67) | def fetch_task(self): method upload_result (line 95) | def upload_result(self, task_id, data_type, result): method complete_task (line 125) | def complete_task(self, task_id): method download_task_file (line 154) | def download_task_file(self, path): method download_test_file (line 179) | def download_test_file(self, uuid): method upload_screen_shot (line 204) | def upload_screen_shot(self,task_image_path, uuid, log_path): FILE: lm/lm_case.py class LMCase (line 16) | class LMCase(unittest.TestCase): method __init__ (line 18) | def __init__(self, case_name, test_data, case_type="API"): method testEntrance (line 25) | def testEntrance(self): method doCleanups (line 33) | def doCleanups(self): method debugLog (line 37) | def debugLog(self, log_info): method errorLog (line 49) | def errorLog(self, log_info): method recordTransDuring (line 61) | def recordTransDuring(self, during): method defineTrans (line 66) | def defineTrans(self, id, name, content="", desc=None): method complete_output (line 84) | def complete_output(self): method deleteTrans (line 93) | def deleteTrans(self, index): method updateTransStatus (line 98) | def updateTransStatus(self, status): method recordFailStatus (line 102) | def recordFailStatus(self, exc_info=None): method recordErrorStatus (line 109) | def recordErrorStatus(self, exc_info=None): method saveScreenShot (line 124) | def saveScreenShot(self, name, screen_shot): method handleResult (line 142) | def handleResult(self): FILE: lm/lm_config.py class IniReader (line 14) | class IniReader: method __init__ (line 16) | def __init__(self, config_ini=CONFIG_PATH): method data (line 22) | def data(self, section, option): method option (line 28) | def option(self, section): method modify (line 37) | def modify(self, section, option, value): class LMConfig (line 44) | class LMConfig(object): method __init__ (line 46) | def __init__(self, path=CONFIG_PATH): FILE: lm/lm_log.py class LMLogger (line 8) | class LMLogger(object): method __init__ (line 10) | def __init__(self, logger_name='Auto Test'): method get_handler (line 15) | def get_handler(self, file_path): function DebugLogger (line 29) | def DebugLogger(log_info, file_path=default_log_path): function ErrorLogger (line 42) | def ErrorLogger(log_info, file_path=default_log_path): FILE: lm/lm_report.py class LMReport (line 10) | class LMReport(object): method __init__ (line 11) | def __init__(self, message_queue, case_result_queue): method monitor_result (line 16) | def monitor_result(self): method post_stop (line 57) | def post_stop(self, task_id=None): FILE: lm/lm_result.py class LMResult (line 8) | class LMResult(unittest.TestResult): method __init__ (line 10) | def __init__(self, result, lock, queue): method startTest (line 19) | def startTest(self, test): method setupStdout (line 25) | def setupStdout(self): method stopTest (line 29) | def stopTest(self, test): method restoreStdout (line 51) | def restoreStdout(self): method addSuccess (line 55) | def addSuccess(self, test): method addFailure (line 59) | def addFailure(self, test, err): method addError (line 64) | def addError(self, test, err): method addSkip (line 69) | def addSkip(self, test, reason): method mergeResult (line 73) | def mergeResult(self, n, test, e): FILE: lm/lm_run.py class LMRun (line 8) | class LMRun(object): method __init__ (line 9) | def __init__(self, plan_tuple, run_index, default_result, default_lock... method run_test (line 16) | def run_test(self): FILE: lm/lm_setting.py class LMSetting (line 13) | class LMSetting(object): method __init__ (line 14) | def __init__(self, task): method data_pull (line 19) | def data_pull(self): method file_unzip (line 38) | def file_unzip(self, file_path): method task_analysis (line 46) | def task_analysis(self): method create_thread (line 91) | def create_thread(self, plan, queue, current_exec_status): method read_fail_case (line 117) | def read_fail_case(test_plan, result): class LMSession (line 134) | class LMSession(object): method __init__ (line 136) | def __init__(self): class LMDriver (line 140) | class LMDriver(object): method __init__ (line 142) | def __init__(self): FILE: lm/lm_start.py class LMStart (line 15) | class LMStart(object): method __init__ (line 17) | def __init__(self): method main (line 22) | def main(self): method send_heartbeat (line 49) | def send_heartbeat(self, queue): method fetch_task (line 72) | def fetch_task(self, queue): method monitor_message (line 85) | def monitor_message(self, message_queue, task_queue): method run_test (line 115) | def run_test(task, queue, current_exec_status): method push_result (line 121) | def push_result(message_queue, case_result_queue): method upload_image (line 126) | def upload_image(task, current_exec_status): FILE: lm/lm_upload.py class LMUpload (line 7) | class LMUpload(object): method __init__ (line 9) | def __init__(self, files, log_path): method set_upload (line 14) | def set_upload(self, task_image_path): method upload (line 29) | def upload(self, task_image_path, uuid, file): FILE: lm/lm_ws.py class Client (line 8) | class Client(WebSocketClient): method __init__ (line 10) | def __init__(self, url, queue): method opened (line 15) | def opened(self): method closed (line 20) | def closed(self, code, reason=None): method received_message (line 25) | def received_message(self, resp): FILE: tools/funclib/__init__.py function get_func_lib (line 5) | def get_func_lib(test=None, lm_func=None, context=None, params=None): FILE: tools/funclib/load_faker.py class CustomFaker (line 9) | class CustomFaker(Faker): method __init__ (line 10) | def __init__(self, package='provider', test=None, lm_func=None, temp=N... method __call__ (line 23) | def __call__(self, name, *args, **kwargs): method _read_module (line 26) | def _read_module(self): method _load_module (line 35) | def _load_module(self): method _load_lm_func (line 46) | def _load_lm_func(self): method _lm_custom_func (line 70) | def _lm_custom_func(self, code, params, test, temp): FILE: tools/funclib/provider/lm_provider.py class LiuMaProvider (line 14) | class LiuMaProvider(BaseProvider): method loadfile (line 17) | def loadfile(uuid): method savefile (line 26) | def savefile(uuid): method b64encode_str (line 45) | def b64encode_str(s: str): method b64encode_bytes (line 49) | def b64encode_bytes(s: bytes): method b64encode_file (line 52) | def b64encode_file(self, uuid): method b64decode_toStr (line 57) | def b64decode_toStr(s: str): method b64decode_toBytes (line 61) | def b64decode_toBytes(s: str): method arithmetic (line 65) | def arithmetic(expression: str): method current_time (line 72) | def current_time(s: str = '%Y-%m-%d'): method year_shift (line 78) | def year_shift(shift, s: str = '%Y-%m-%d'): method month_shift (line 86) | def month_shift(shift, s: str = '%Y-%m-%d'): method week_shift (line 94) | def week_shift(shift, s: str = '%Y-%m-%d'): method date_shift (line 103) | def date_shift(shift, s: str = '%Y-%m-%d'): method hour_shift (line 112) | def hour_shift(shift, s: str = '%Y-%m-%d %H:%M:%S'): method minute_shift (line 121) | def minute_shift(shift, s: str = '%Y-%m-%d %H:%M:%S'): method second_shift (line 130) | def second_shift(shift, s: str = '%Y-%m-%d %H:%M:%S'): method lenof (line 139) | def lenof(array): method indexof (line 143) | def indexof(array, index): method keyof (line 147) | def keyof(map, key): method pinyin (line 151) | def pinyin(cname: str): method substing (line 155) | def substing(s, start: int=0, end: int=-1): method extract (line 159) | def extract(data): method replace (line 163) | def replace(s, old, new): method map_dumps (line 167) | def map_dumps(tar): method array_dumps (line 171) | def array_dumps(tar): FILE: tools/utils/sql.py class SQLConnect (line 8) | class SQLConnect: method __init__ (line 10) | def __init__(self, tpz, host, port, db, user, password): method connect (line 19) | def connect(self): method query (line 44) | def query(self, sql): method exec (line 64) | def exec(self, sql): FILE: tools/utils/utils.py function extract_by_jsonpath (line 8) | def extract_by_jsonpath(data: (dict,list, str), expression: str): function extract_by_regex (line 18) | def extract_by_regex(data: (dict, str), pattern: str): function quotation_marks (line 30) | def quotation_marks(s): function url_join (line 49) | def url_join(host: str, path: str): function proxies_join (line 55) | def proxies_join(proxies: dict): function extract (line 79) | def extract(name: str, data: (dict, list, str), expression: str): function get_case_message (line 88) | def get_case_message(data): function handle_operation_data (line 99) | def handle_operation_data(data_type, data_value): function handle_params_data (line 123) | def handle_params_data(params): function handle_form_data (line 148) | def handle_form_data(form): function handle_files (line 175) | def handle_files(files): function json_to_path (line 184) | def json_to_path(data): function relate_sort (line 211) | def relate_sort(data, data_from): function get_json_relation (line 248) | def get_json_relation(data: dict, data_from: str): class ExtractValueError (line 252) | class ExtractValueError(Exception): class ProxiesError (line 256) | class ProxiesError(Exception):