如果接口重名,但是请求方式不同,mock 接口返回得时候无法区分 (例如:OPTIONS,GET)
windows 留下解决办法:
resource 文件导入错误,导入文件修改办法:安装 python-resources 0.3
项目启动失败:config.py 文件修改,修改后内容 ("mock.data": "/mock_data/personal")
启动后无法关闭,最新错误,后台日志错误:
RROR [device_service] DeviceService Crash:
Traceback (most recent call last):
File "e:\program files\python3.7\lib\site-packages\lyrebird_android\device_service.py", line 42, in run
self.handle()
File "e:\program files\python3.7\lib\site-packages\lyrebird_android\device_service.py", line 50, in handle
devices = android_helper.devices()
File "e:\program files\python3.7\lib\site-packages\lyrebird_android\android_helper.py", line 416, in devices
device = Device.from_adb_line(line)
File "e:\program files\python3.7\lib\site-packages\lyrebird_android\android_helper.py", line 121, in from_adb_line
raise ADBError(f'Read device info line error. {line}')
lyrebird_android.android_helper.ADBError: Read device info line error.
windows 平台,导入 resource 包找不到,楼上的同学是怎么解决
android 模拟器是不是不能输入中文,有什么解决办法吗
你的解决了吗?
不是很明白,是写死尺寸吗 ? return namedtuple('Size', ['width', 'height'])(414, 736) ?
from atx.ext.report import Report,ios 自动化运行的时候,调不到 display 方法. 'Session' object has no attribute 'display'