Skip to content

Commit 2b4eb14

Browse files
author
Dimitar Tasev
committed
Adds test for rc with commits
1 parent ee151c0 commit 2b4eb14

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

mantidimaging/core/utility/test/version_check_test.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,12 @@ def test_parse_version_release_candidate(self):
3131
assert parsed.version == (9, 9, 9)
3232
assert parsed.commits == 0
3333

34+
def test_parse_version_release_candidate_with_commits(self):
35+
parsed = _parse_version("9.9.9rc_2")
36+
37+
assert parsed.version == (9, 9, 9)
38+
assert parsed.commits == 0
39+
3440
def test_version_is_uptodate(self):
3541
for local, remote, is_uptodate in [
3642
["8.9.9_1234", "9.9.9_1234", False],

0 commit comments

Comments
 (0)