AirtestProject / AirtestProject/Poco

在实验官网pocounit时出错

Open
#271 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
2k
Forks
341
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.