AirtestProject / AirtestProject/Poco

在实验官网pocounit时出错

Offen
#271 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
2k
Forks
341
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.