minitest运行问题?
发布于 5 年前 作者 fang85 2981 次浏览 来自 官方Issues
class FirstTest(minium.MiniTest):def test_get_system_info(self)selfself"SDKVersion", sys_info)
执行出错。

Traceback (most recent call last):

  File "c:\programfiles\python\lib\s

ite-packages\minium\framework\libs\unittest\suite.py", line 33, in _handleClassSetUp

    _miniClassSetUp()

  File “c:\programfiles\python\lib\site-packages\minium\framework\minitest.py”, line 611, in _miniClassSetUp

    cls.mini = get_minium(cls.CONFIG)

  File “c:\programfiles\python\lib\site-packages\minium\framework\minitest.py”, line 89, in get_minium

    g_minium = minium.miniprogram.get_minium_driver(conf=cfg, native=g_native)

  File “c:\programfiles\python\lib\site-packages\minium\miniprogram\__init__.py”, line 28, in get_minium_driver

    return APP[application](conf, *args, **kwargs)

  File “c:\programfiles\python\lib\site-packages\minium\miniprogram\wx_minium.py”, line 110, in __init__

    self.launch_dev_tool()

  File “c:\programfiles\python\lib\site-packages\minium\miniprogram\base_driver\minium_log.py”, line 135, in wrapper

    result = func(*args, **kwargs)

  File “c:\programfiles\python\lib\site-packages\minium\miniprogram\wx_minium.py”, line 200, in launch_dev_tool

    self._get_sdk_version()

  File “c:\programfiles\python\lib\site-packages\minium\miniprogram\wx_minium.py”, line 166, in _get_sdk_version

    self.sdk_version = json.loads(fd.read().strip()).get(“libVersion”, None)。

1 回复

你好,traceback前面的信息是什么

回到顶部