patman: Add a test that uses gitpython
authorSimon Glass <sjg@chromium.org>
Mon, 6 Jul 2020 03:41:50 +0000 (21:41 -0600)
committerSimon Glass <sjg@chromium.org>
Sat, 25 Jul 2020 01:25:15 +0000 (19:25 -0600)
commitfd70986a62afc291d3fbc172dc0c7219dc84d4b7
tree4db2e6da3794fb533c345ef2987a2b0d7fc61063
parent7d5b04e8a533402799c39468ac880a22f67ffbc9
patman: Add a test that uses gitpython

It is convenient to use gitpython to create a real git repo for testing
patman's operation. Add a test for this. So far it just checks that patman
produces the right number of patches for a branch.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/patman/func_test.py
tools/patman/tools.py