[U-Boot] [PATCH 16/26] binman: Set up 'entry' to permit full test coverage

sjg at google.com sjg at google.com
Fri Nov 24 01:47:05 UTC 2017


There is a little check at the top of entry.py which decides if importlib
is available. At present this has no test coverage. To add this we will
need to import the module twice, once with importlib and once without.
In preparation for allowing a test to control the importing of this
module, remove all global imports of the 'entry' module.

Signed-off-by: Simon Glass <sjg at chromium.org>

---

 tools/binman/entry_test.py | 4 ++--
 tools/binman/ftest.py      | 4 +++-
 tools/binman/image.py      | 7 +++++--
 3 files changed, 10 insertions(+), 5 deletions(-)

Applied to u-boot-dm thanks!


More information about the U-Boot mailing list