commit | 4d5994f91c5c781fb0c8b32b58abfc4d9d2ec878 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sun Nov 12 21:52:20 2017 -0700 |
committer | Simon Glass <sjg@chromium.org> | Wed Nov 22 18:05:38 2017 -0700 |
tree | 6c37ad79e68d7e2a4971dd04304370bd0079eeac | |
parent | 5a3f2226043cd46d446ab6eba39e47d131b47175 [diff] |
binman: Set up 'entry' to permit full test coverage 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@chromium.org>