grading_rules #28
openname=api自动 data=""
0%
- expr: '[log for log in records if log is not None]'
expr_type: python
weight: 20
- expr: '[log for log in records if log.module_name in [''requests.models'',''urllib3'',''urllib'']]'
expr_type: python
weight: 10
- expr: '[log for log in records if log.depth >=4]'
expr_type: python
weight: 10
- expr: '[log for log in records if log.args.get(''@py_assert1'',1) is None]'
expr_type: python
weight: 5
- expr: '[log for log in records if log.args is not None]'
expr_type: python
weight: 5
- expr: '[log for log in records if log.function_name in [''teardown'',''teardown_method'',''teardown_function'',''teardown_class'',''teardown_module'']]'
expr_type: python
weight: 10
- expr: '[log for log in records if log.function_name in [''setup'',''setup_module'',''setup_function'',''setup_class'',''setup_method'']]'
expr_type: python
weight: 10
- expr: '[log for log in records if log.args.get(''url'','''') in ''https://thingsboard.hogwarts.ceshiren.com/api/auth/login'']'
expr_type: python
weight: 10
- expr: '[log for log in records if ''https://thingsboard.hogwarts.ceshiren.com/api/device''
in log.args.get(''url'','''') and log.args.get(''method'', '''') ==''post'']'
expr_type: python
weight: 5
- expr: '[log for log in records if ''https://thingsboard.hogwarts.ceshiren.com/api/tenant/devices?deviceName=''
in log.args.get(''url'','''') and log.args.get(''method'', '''') ==''get'']'
expr_type: python
weight: 5
- expr: '[log for log in records if ''https://thingsboard.hogwarts.ceshiren.com/api/device''
in log.args.get(''url'','''') and log.args.get(''method'', '''') ==''post'']'
expr_type: python
weight: 5
- expr: '[log for log in records if ''https://thingsboard.hogwarts.ceshiren.com/api/device/''
in log.args.get(''url'','''') and log.args.get(''method'', '''') ==''delete'']'
expr_type: python
weight: 5
No data to display