]> Git Repo - u-boot.git/commit
tests: py: fix NameError exception if bdi cmd is not supported
authorHeiko Schocher <[email protected]>
Mon, 9 May 2016 08:08:24 +0000 (10:08 +0200)
committerTom Rini <[email protected]>
Fri, 13 May 2016 13:17:33 +0000 (09:17 -0400)
commitb8218a9146814ad1dba0c21facddce9adca680ef
tree02218f59ffd64e756a6146e5b68bf779fc3b79eb
parent1ea4fac5a34604e67504ee6537bb01e809528cd4
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 <[email protected]>
Reviewed-by: Stephen Warren <[email protected]>
test/py/u_boot_utils.py
This page took 0.032375 seconds and 4 git commands to generate.