AirtestProject / AirtestProject/Poco

在实验官网pocounit时出错

Đang mở
#271 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
2k
Fork
341
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

**Describe the bug**
在实验官网pocounit时出错
网址https://poco.readthedocs.io/zh_CN/latest/source/doc/poco-example/play_with_unittest_framework.html

```
Traceback (most recent call last):
File "F:\Software\Python37\lib\site-packages\airtest\cli\runner.py", line 65, in runTest
six.reraise(*sys.exc_info())
File "F:\Software\Python37\lib\site-packages\six.py", line 693, in reraise
raise value
File "F:\Software\Python37\lib\site-packages\airtest\cli\runner.py", line 61, in runTest
exec(compile(code.encode("utf-8"), pyfilepath, 'exec'), self.scope)
File "F:\WorkPlace_AirTest\AirFiles\小实验\TestReporter.air\TestReporter.py", line 8, in
from pocounit.addons.hunter.runtime_logging import AppRuntimeLogging
File "F:\Software\Python37\lib\site-packages\pocounit\addons\hunter\runtime_logging.py", line 5, in
from hunter_cli.device_output import trace
ModuleNotFoundError: No module named 'hunter_cli'
```

**To Reproduce**
运行下面代码, "from pocounit.addons.hunter.runtime_logging import AppRuntimeLogging" 这一行报错

from airtest.core.api import *
auto_setup(__file__)

from pocounit.case import PocoTestCase
from pocounit.addons.poco.action_tracking import ActionTracker
from pocounit.addons.hunter.runtime_logging import AppRuntimeLogging

**python version:** `python3.7`

**poco version:** `1.0.76`

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.