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