commit | 5654901dc4bce7b8e802cfdc25262a07ec0bb595 | [log] [tgz] |
---|---|---|
author | Heiko Schocher <hs@denx.de> | Mon May 09 10:08:24 2016 +0200 |
committer | Tom Rini <trini@konsulko.com> | Fri May 13 09:17:33 2016 -0400 |
tree | 02218f59ffd64e756a6146e5b68bf779fc3b79eb | |
parent | e996bc6885c171a8fd0d4c10600c73dcea886cf0 [diff] |
tests: 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>