We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent afce28d commit e1a9342Copy full SHA for e1a9342
tests/console/commands/test_update.py
@@ -5,6 +5,7 @@
5
import pytest
6
7
from tests.helpers import get_package
8
+from poetry.console.commands.update import UpdateCommand
9
10
11
if TYPE_CHECKING:
@@ -92,6 +93,7 @@ def test_update_sync_option_is_passed_to_the_installer(
92
93
The --sync option is passed properly to the installer from update.
94
"""
95
tester = command_tester_factory("update", poetry=poetry_with_outdated_lockfile)
96
+ assert isinstance(tester.command, UpdateCommand)
97
mocker.patch.object(tester.command.installer, "run", return_value=1)
98
99
tester.execute("--sync")
0 commit comments