AirtestProject / AirtestProject/Poco

在实验官网pocounit时出错

未关闭
#271 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
2k
派生
341
PR 合并指标
30 天内没有已合并 PR

描述

**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`

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。