收藏
回答

minitest运行问题?

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)。


回答关注问题邀请回答
收藏

2 个回答

  • yopofeng
    yopofeng
    2021-10-11

    fixed,请更新下包

    2021-10-11
    有用
    回复
  • 社区技术运营专员--阳光
    社区技术运营专员--阳光
    2021-09-30

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

    2021-09-30
    有用
    回复
登录 后发表内容