diff options
author | Simon Glass <sjg@chromium.org> | 2025-04-07 22:51:47 +1200 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2025-05-27 10:07:42 +0100 |
commit | 75ae217194ad680bac8d3f2b0e2bcd0976c91735 (patch) | |
tree | 9e1f8133b65644bdcb40b8c90104d60a8264b7e8 /tools/patman/func_test.py | |
parent | abfd67cccf8e1a4330ab9601813dd6675c84a9c5 (diff) |
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>
Diffstat (limited to 'tools/patman/func_test.py')
-rw-r--r-- | tools/patman/func_test.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/patman/func_test.py b/tools/patman/func_test.py index 2a1731aeec9..3a34302fc57 100644 --- a/tools/patman/func_test.py +++ b/tools/patman/func_test.py @@ -237,7 +237,6 @@ class TestFunctional(unittest.TestCase): 'fred': [self.fred], 'joe': [self.joe], } - settings.alias = alias text = self._get_text('test01.txt') series = patchstream.get_metadata_for_test(text) @@ -257,7 +256,7 @@ class TestFunctional(unittest.TestCase): cmd = gitutil.email_patches( series, cover_fname, args, dry_run, not ignore_bad_tags, cc_file, alias, in_reply_to=in_reply_to, thread=None) - series.ShowActions(args, cmd, process_tags) + series.ShowActions(args, cmd, process_tags, alias) cc_lines = open(cc_file, encoding='utf-8').read().splitlines() os.remove(cc_file) |