commit | 28404c6ba6dbfa0530dc3d8d813ef76c869b4c99 | [log] [tgz] |
---|---|---|
author | Heiko Schocher <hs@denx.de> | Fri May 06 07:33:51 2016 +0200 |
committer | Tom Rini <trini@konsulko.com> | Fri May 27 10:01:09 2016 -0400 |
tree | c4d6dc55bd0ff0999d4e8087eca9867dc98f04d2 | |
parent | 7e7c8776472b3009d29848a2e004aea1a96b8a19 [diff] |
test/py: fix NameError exception if bdi cmd is not supported test/py raises an error, if a board has not enabled bdi command > pytest.skip('bdinfo command not supported') E NameError: global name 'pytest' is not defined import pytest in test/py/u_boot_utils.py fixes this. Signed-off-by: Heiko Schocher <hs@denx.de> Reviewed-by: Stephen Warren <swarren@nvidia.com>