Skip to content

Commit

Permalink
Fix self update command tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sdispater committed May 21, 2021
1 parent c0fffa9 commit d3c65ed
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions tests/console/commands/self/test_update.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,14 @@ def test_self_update_can_update_from_recommended_installation(
Package operations: 0 installs, 2 updates, 0 removals
- Updating cleo (0.8.2 -> 1.0.0)
- Updating poetry (1.2.0a0 -> 1.2.0)
- Updating poetry ({} -> {})
Updating the poetry script
Poetry (1.2.0) is installed now. Great!
"""
Poetry ({}) is installed now. Great!
""".format(
__version__, new_version, new_version
)

assert tester.io.fetch_output() == expected_output

Expand Down

0 comments on commit d3c65ed

Please sign in to comment.