patman: Update Series.ShowActions() to pass alias
Instead of using settings.alias pass this value in. This allows tests to
work without using settings.alias
Signed-off-by: Simon Glass <sjg@chromium.org>
diff --git a/tools/patman/send.py b/tools/patman/send.py
index 16fae31..d9ef445 100644
--- a/tools/patman/send.py
+++ b/tools/patman/send.py
@@ -102,7 +102,7 @@
# For a dry run, just show our actions as a sanity check
if dry_run:
- series.ShowActions(patch_files, cmd, process_tags)
+ series.ShowActions(patch_files, cmd, process_tags, settings.alias)
if not its_a_go:
print(col.build(col.RED, "Email would not be sent"))