mirror of
https://github.com/TECHNOFAB11/bumpver.git
synced 2025-12-12 06:20:08 +01:00
fix: missing release tag "post"
This commit is contained in:
parent
c2103a242f
commit
30657c7948
2 changed files with 9 additions and 2 deletions
|
|
@ -43,7 +43,7 @@ def test_bump_random(monkeypatch):
|
|||
for i in range(1000):
|
||||
cur_date += dt.timedelta(days=int((1 + random.random()) ** 10))
|
||||
new_version = version.incr(
|
||||
cur_version, release=random.choice([None, "alpha", "beta", "rc", 'final'])
|
||||
cur_version, release=random.choice([None, "alpha", "beta", "rc", "final", "post"])
|
||||
)
|
||||
assert cur_version < new_version
|
||||
cur_version = new_version
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue