1 Star 0 Fork 0

Yang/esp32s3_idf_mcu_shell

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
pytest_console_basic.py 512 Bytes
一键复制 编辑 原始数据 按行查看 历史
Yang 提交于 8个月前 . first commit
# SPDX-FileCopyrightText: 2021-2022 Espressif Systems (Shanghai) CO LTD
# SPDX-License-Identifier: CC0-1.0
import pytest
from pytest_embedded import Dut
@pytest.mark.esp32
@pytest.mark.esp32c3
@pytest.mark.generic
@pytest.mark.parametrize('config', [
'history',
'nohistory',
], indirect=True)
def test_console_basic(config: str, dut: Dut) -> None:
if config == 'history':
dut.expect('Command history enabled')
elif config == 'nohistory':
dut.expect('Command history disabled')
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C
1
https://gitee.com/jackyzb/esp32s3_idf_mcu_shell.git
git@gitee.com:jackyzb/esp32s3_idf_mcu_shell.git
jackyzb
esp32s3_idf_mcu_shell
esp32s3_idf_mcu_shell
master

搜索帮助