projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dafd648
)
test/py: fix NameError exception if bdi cmd is not supported
author
Heiko Schocher
<hs@denx.de>
Fri, 6 May 2016 05:33:51 +0000
(07:33 +0200)
committer
Tom Rini
<trini@konsulko.com>
Fri, 27 May 2016 14:01:09 +0000
(10:01 -0400)
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>
test/py/u_boot_utils.py
patch
|
blob
|
history
diff --git
a/test/py/u_boot_utils.py
b/test/py/u_boot_utils.py
index 9d243e047b19e1b1071b3036d6ad97a20b67b3a4..6a6b2ec0e669f2f0bb9f375b5e73af13c0117e7b 100644
(file)
--- a/
test/py/u_boot_utils.py
+++ b/
test/py/u_boot_utils.py
@@
-10,6
+10,7
@@
import os.path
import pytest
import sys
import time
+import pytest
def md5sum_data(data):
"""Calculate the MD5 hash of some data.