10000 Automatically bump the README version by hugovk · Pull Request #224 · python/release-tools · GitHub
[go: up one dir, main page]

Skip to content

Automatically bump the README version #224

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Mar 24, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Test Tag.is_final
  • Loading branch information
hugovk committed Mar 16, 2025
commit 8309cd10fff5670cff4d038f55d006ea98bd7557
10 changes: 10 additions & 0 deletions tests/test_release_tag.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,23 +32,33 @@ def test_tag_phase() -> None:
beta1 = release.Tag("3.13.0b1")
beta4 = release.Tag("3.13.0b4")
rc = release.Tag("3.13.0rc3")
final = release.Tag("3.13.0")

# Act / Assert
assert alpha.is_alpha_release is True
assert alpha.is_feature_freeze_release is False
assert alpha.is_release_candidate is False
assert alpha.is_final is False

assert beta1.is_alpha_release is False
assert beta1.is_feature_freeze_release is True
assert beta1.is_release_candidate is False
assert beta1.is_final is False

assert beta4.is_alpha_release is False
assert beta4.is_feature_freeze_release is False
assert beta4.is_release_candidate is False
assert beta4.is_final is False

assert rc.is_alpha_release is False
assert rc.is_feature_freeze_release is False
assert rc.is_release_candidate is True
assert rc.is_final is False

assert final.is_alpha_release is False
assert final.is_feature_freeze_release is False
assert final.is_release_candidate is False
assert final.is_final is True


def test_tag_committed_at_not_found() -> None:
Expand Down
0