The func_test file is quite large. In order to allow new tests to be added to a separate file, move the common test code into a separate class, to be inherited by other classes.
Drop unnecessary imports in func_test Signed-off-by: Simon Glass <[email protected]> --- tools/patman/__init__.py | 2 +- tools/patman/control.py | 3 - tools/patman/func_test.py | 213 ++++------------------------------ tools/patman/test_common.py | 222 ++++++++++++++++++++++++++++++++++++ 4 files changed, 248 insertions(+), 192 deletions(-) create mode 100644 tools/patman/test_common.py Applied to sjg/master, thanks!

