Exemple #1
0
def test_should_warn_significance():
    assert should_warn("1.4.dev1", "1.6")
Exemple #2
0
def test_should_warn_equal():
    assert not should_warn("1.6", "1.6")
Exemple #3
0
def test_should_warn_greater():
    assert not should_warn("1.7", "1.6")
Exemple #4
0
def test_should_warn_greater_one_minor():
    assert should_warn("1.4", "1.6")
Exemple #5
0
def test_should_warn_exactly_one_minor():
    assert not should_warn("1.5", "1.6")
Exemple #6
0
def test_should_warn_significance():
    assert should_warn("1.4.dev1", "1.6")
Exemple #7
0
def test_should_warn_greater():
    assert not should_warn("1.7", "1.6")
Exemple #8
0
def test_should_warn_equal():
    assert not should_warn("1.6", "1.6")
Exemple #9
0
def test_should_warn_exactly_one_minor():
    assert not should_warn("1.5", "1.6")
Exemple #10
0
def test_should_warn_greater_one_minor():
    assert should_warn("1.4", "1.6")