summaryrefslogtreecommitdiff
path: root/test/py/tests/test_sleep.py
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2016-01-29 13:47:38 -0500
committerTom Rini <trini@konsulko.com>2016-01-29 13:47:38 -0500
commit8a36287a019f5d7532a8a1a7da6aa96e490dbb8a (patch)
treecae7e68596b7405120720f7a81c7ffb04d6ffa6e /test/py/tests/test_sleep.py
parent82d72a1b9967cff4908f22c57536c3660f794401 (diff)
parent26db3a617b38cc1bed1ce100381d2c4ccbb55e42 (diff)
Merge git://git.denx.de/u-boot-dm
Diffstat (limited to 'test/py/tests/test_sleep.py')
-rw-r--r--test/py/tests/test_sleep.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/test/py/tests/test_sleep.py b/test/py/tests/test_sleep.py
index 64f1ddf9a09..74add891c33 100644
--- a/test/py/tests/test_sleep.py
+++ b/test/py/tests/test_sleep.py
@@ -6,12 +6,8 @@ import pytest
import time
def test_sleep(u_boot_console):
- '''Test the sleep command, and validate that it sleeps for approximately
- the correct amount of time.'''
-
- # Do this before we time anything, to make sure U-Boot is already running.
- # Otherwise, the system boot time is included in the time measurement.
- u_boot_console.ensure_spawned()
+ """Test the sleep command, and validate that it sleeps for approximately
+ the correct amount of time."""
# 3s isn't too long, but is enough to cross a few second boundaries.
sleep_time = 3