示例#1
0
def test_bamp_major():
    assert _bamp(make_version((2, 0, 1)), 'major') == make_version((3, 0, 0))
示例#2
0
def test_bamp_minor_with_patch_major():
    assert _bamp(make_version((2, 8, 10)), 'minor') == make_version((2, 9, 0))
示例#3
0
def test_bamp_major_with_minor():
    assert _bamp(make_version((0, 1, 1)), 'major') == make_version((1, 0, 0))
示例#4
0
def test_bamp_patch_with_major_minor():
    assert _bamp(make_version((2, 3, 4)), 'patch') == make_version((2, 3, 5))
示例#5
0
def test_bamp_minor():
    assert _bamp(make_version((0, 0, 9)), 'minor') == make_version((0, 1, 0))
示例#6
0
def test_bamp_major():
    assert _bamp(make_version((2, 0, 1)), "major") == make_version((3, 0, 0))
示例#7
0
def test_bamp_patch():
    assert _bamp(make_version((0, 0, 1)), 'patch') == make_version((0, 0, 2))
示例#8
0
def test_bamp_major_with_minor():
    assert _bamp(make_version((0, 1, 1)), "major") == make_version((1, 0, 0))
示例#9
0
def test_bamp_minor_with_patch_major():
    assert _bamp(make_version((2, 8, 10)), "minor") == make_version((2, 9, 0))
示例#10
0
def test_bamp_minor():
    assert _bamp(make_version((0, 0, 9)), "minor") == make_version((0, 1, 0))
示例#11
0
def test_bamp_patch_with_major_minor():
    assert _bamp(make_version((2, 3, 4)), "patch") == make_version((2, 3, 5))
示例#12
0
def test_bamp_patch():
    assert _bamp(make_version((0, 0, 1)), "patch") == make_version((0, 0, 2))