mirror of
https://github.com/MrUnknownDE/OpenIris-ESPIDF.git
synced 2026-04-13 03:33:44 +02:00
Initial support for a hardware test harness with pytest and UV
This commit is contained in:
11
tests/test_basic_functionality.py
Normal file
11
tests/test_basic_functionality.py
Normal file
@@ -0,0 +1,11 @@
|
||||
from tests.utils import has_command_failed
|
||||
import pytest
|
||||
|
||||
|
||||
@pytest.mark.has_capability("wired")
|
||||
def test_ping_wired(get_openiris_device, ensure_board_in_mode):
|
||||
device = get_openiris_device()
|
||||
device = ensure_board_in_mode("wifi", device)
|
||||
|
||||
command_result = device.send_command("ping")
|
||||
assert not has_command_failed(command_result)
|
||||
Reference in New Issue
Block a user