Exemple #1
0
def test_check_data_invalidrelease():
    with pytest.raises(InvalidRelease):
        assert Package.check_release("1.4.5a-alpha")
Exemple #2
0
def test_check_data_validrelease():
    assert Package.check_release("1.4.5-alpha") is None