def test_repo_without_tags_no_semver(empty_repo): """ This tests situations where there are no initial tags """ v = Vinnie(repo=empty_repo, semver=False) v.dump() assert v.version() == "0" assert v.get_next_bump() == "1"
def test_repo_without_tags(empty_repo): """ This tests situations where there are no initial tags """ v = Vinnie(repo=empty_repo) v.dump() assert v.version() == "0.0.0" assert v.get_next_patch() == "0.0.1"