コード例 #1
0
ファイル: test_log.py プロジェクト: 1stvamp/pip
def test_should_warn_significance():
    assert should_warn("1.4.dev1", "1.6")
コード例 #2
0
ファイル: test_log.py プロジェクト: 1stvamp/pip
def test_should_warn_equal():
    assert not should_warn("1.6", "1.6")
コード例 #3
0
ファイル: test_log.py プロジェクト: 1stvamp/pip
def test_should_warn_greater():
    assert not should_warn("1.7", "1.6")
コード例 #4
0
ファイル: test_log.py プロジェクト: 1stvamp/pip
def test_should_warn_greater_one_minor():
    assert should_warn("1.4", "1.6")
コード例 #5
0
ファイル: test_log.py プロジェクト: 1stvamp/pip
def test_should_warn_exactly_one_minor():
    assert not should_warn("1.5", "1.6")
コード例 #6
0
def test_should_warn_significance():
    assert should_warn("1.4.dev1", "1.6")
コード例 #7
0
def test_should_warn_greater():
    assert not should_warn("1.7", "1.6")
コード例 #8
0
def test_should_warn_equal():
    assert not should_warn("1.6", "1.6")
コード例 #9
0
def test_should_warn_exactly_one_minor():
    assert not should_warn("1.5", "1.6")
コード例 #10
0
def test_should_warn_greater_one_minor():
    assert should_warn("1.4", "1.6")