AirtestProject / AirtestProject/Airtest
please remove the debug info ,when run in pytest
- Lenguaje dominante
- Python
- Estrellas
- 9.6k
- Forks
- 1.5k
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
Remove any following parts if does not have details about
**Describe the bug**
1.file xxx.py has code like this:
import pytest
from airtest.core.api import *
from poco.drivers.android.uiautomation import AndroidUiautomationPoco
import time
device=connect_device("Android:///")
poco = AndroidUiautomationPoco(use_airtest_input=True, screenshot_each_action=False)
#test code.
2.run it in pytest xxx.py
output is:
```
---->end....
.---->start....test_Video2
---->end....test_Video2
.
==================================================== 2 passed in 69.91s (0:01:09) =====================================================
[06:14:25][DEBUG] g:\mypython\venv\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s S42201
2000560 forward --remove tcp:16262
[06:14:25][DEBUG] g:\mypython\venv\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s S42201
2000560 forward --remove tcp:15436
[06:14:25][DEBUG] g:\mypython\venv\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s S42201
2000560 forward --remove tcp:13973
```
**python version:** `python3.6`
i don`t need the debug info of airtest.
such as: [06:14:25][DEBUG]
is there anyway to remove it.
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Evaluación
Este issue todavía no se ha evaluado.