Skip to content

Commit

Permalink
Fix test that relied on having z added to the patch version for non-s…
Browse files Browse the repository at this point in the history
…pin versions

Signed-off-by: Mike Timm <mtimm@tetrationanalytics.com>
  • Loading branch information
mtimm committed Apr 28, 2020
1 parent 0c4149b commit 5954cd8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/unit_tests/common/test_imcversion.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,7 @@ def test_gt_different_major_version():


def test_patch_versions():
# when we don't see a patch version we use z
# so 2.0(12) will be considerde as 2.0(12z)
version1 = ImcVersion("2.0(12b)")
version2 = ImcVersion("2.0(12)")
assert_equal((version1 > version2), False)
assert_equal((version1 > version2), True)

0 comments on commit 5954cd8

Please sign in to comment.