Skip to content
Snippets Groups Projects
Forked from Reform / reform-boundary-uboot
Source project has a limited visibility.
  • Simon Glass's avatar
    4d5994f9
    binman: Set up 'entry' to permit full test coverage · 4d5994f9
    Simon Glass authored
    
    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: default avatarSimon Glass <sjg@chromium.org>
    4d5994f9
    History
    binman: Set up 'entry' to permit full test coverage
    Simon Glass authored
    
    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: default avatarSimon Glass <sjg@chromium.org>