* fix(tests): Add missing newlines to output * fix(tests): Improve fibonacci test * fix(tests): Remove redundant targets from json * fix(wokwi): Checkout proper base branch for wokwi tests * feat(logging): Add logging to some tests to improve debugging * fix(ci): Make CI more permissive and improve messages * fix(tests): Bump pytest-embedded version to support P4
15 lines
403 B
Python
15 lines
403 B
Python
import logging
|
|
|
|
def test_wifi(dut):
|
|
LOGGER = logging.getLogger(__name__)
|
|
|
|
LOGGER.info("Starting WiFi Scan")
|
|
dut.expect_exact("Scan start")
|
|
dut.expect_exact("Scan done")
|
|
dut.expect_exact("Wokwi-GUEST")
|
|
LOGGER.info("WiFi Scan done")
|
|
|
|
LOGGER.info("Connecting to WiFi")
|
|
dut.expect_exact("WiFi connected")
|
|
dut.expect_exact("IP address:")
|
|
LOGGER.info("WiFi connected")
|