Add examples with 'post' suffix
@@ -286,8 +286,12 @@ def test_check_ots():
@pytest.mark.parametrize('installed, latest, result', [
("0.5.0",
"0.5.0", True),
+ ("0.5.0",
+ "0.5.0.post2", False),
("0.5.1",
"0.5.0", True),
+ ("0.5.1",
+ "0.5.0.post2", True),
("0.4.1",
"0.5.0", False),
("0.3.4",
@@ -300,6 +304,10 @@ def test_check_ots():
"0.8.10", False),
("0.8.10",
"0.8.9", True),
+ ("0.8.10.dev1+g666b3425",
+ "0.8.9.post2", True),
+ ("0.8.9.dev1+g666b3425",
+ "0.8.9.post2", False),
("0.5.2.dev73+g8c9ebc0.d20181023",
"0.5.1", True),
("0.5.2.dev73+g8c9ebc0.d20181023",
