From 72b10efe9dffa5dbd865de30d951b5edfe35d630 Mon Sep 17 00:00:00 2001 From: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Sun, 10 Jul 2022 21:51:48 +0200 Subject: [PATCH] Add test case --- cherry_picker/test_cherry_picker.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cherry_picker/test_cherry_picker.py b/cherry_picker/test_cherry_picker.py index fe4ac4d..c3b744d 100644 --- a/cherry_picker/test_cherry_picker.py +++ b/cherry_picker/test_cherry_picker.py @@ -183,6 +183,10 @@ def test_get_author_info_from_short_sha(subprocess_check_output): ["stable-3.1", "lts-2.7", "3.10-other", "smth3.6else"], ["3.10-other", "smth3.6else", "stable-3.1", "lts-2.7"], ), + ( + ["3.7", "3.10", "2.7", "foo", "stable", "branch"], + ["3.10", "3.7", "2.7", "branch", "foo", "stable"], + ), ], ) @mock.patch("os.path.exists")