Skip to content

Commit

Permalink
Add test case
Browse files Browse the repository at this point in the history
  • Loading branch information
Jackenmen committed Jul 10, 2022
1 parent 4cee78e commit 72b10ef
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cherry_picker/test_cherry_picker.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 72b10ef

Please sign in to comment.