Skip to content

Commit 6cedad8

Browse files
committed
test
1 parent 8c6164e commit 6cedad8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/validation/sleep/test_sleep.py

+3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import logging
2+
import time
23

34
capabilities = {
45
"timer": ["esp32", "esp32s2", "esp32s3", "esp32c3", "esp32c6", "esp32h2"],
@@ -31,6 +32,8 @@ def test_sleep(dut):
3132
LOGGER.info("Testing {} light sleep capability".format(capability))
3233
dut.write("{}_light".format(capability))
3334
if capability == "uart":
35+
time.sleep(5)
36+
LOGGER.info("Sending 9 positive edges")
3437
dut.write("aaa") # Send 9 positive edges
3538
dut.expect_exact("Woke up from light sleep")
3639
dut.expect_exact("Wakeup reason: {}".format(capability))

0 commit comments

Comments
 (0)