Skip to content
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

feat: add --next-phase command to poetry version #8089

Merged
merged 11 commits into from
Sep 10, 2023
Prev Previous commit
Next Next commit
fix mypy
  • Loading branch information
radoering authored Sep 10, 2023
commit 29dd903fdbe88f2bced2693d37c45846702b8c67
1 change: 1 addition & 0 deletions tests/console/commands/test_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ def test_short_version_update(tester: CommandTester) -> None:


def test_phase_version_update(tester: CommandTester) -> None:
assert isinstance(tester.command, VersionCommand)
tester.command.poetry.package._set_version("1.2.4a0")
radoering marked this conversation as resolved.
Show resolved Hide resolved
tester.execute("prerelease --next-phase")
radoering marked this conversation as resolved.
Show resolved Hide resolved
assert tester.io.fetch_output() == "Bumping version from 1.2.4a0 to 1.2.4b0\n"
Expand Down