mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
7c02bde904
This commit does the following: - Update existing unit tests that use the TWDT to call the new esp_task_wdt_init() API - Add a set of dedicate TWDT unit tests - Updates the TWDT example
13 lines
287 B
Python
13 lines
287 B
Python
# SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD
|
|
# SPDX-License-Identifier: CC0-1.0
|
|
|
|
import pytest
|
|
from pytest_embedded import Dut
|
|
|
|
|
|
@pytest.mark.supported_targets
|
|
@pytest.mark.generic
|
|
def test_task_watchdog(dut: Dut) -> None:
|
|
|
|
dut.expect_exact('Example complete')
|