Skip to content

Commit

Permalink
windows variation
Browse files Browse the repository at this point in the history
  • Loading branch information
dimbleby committed Mar 17, 2024
1 parent 9d6d215 commit 2514adc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/installation/test_installer.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
from poetry.repositories import RepositoryPool
from poetry.repositories.installed_repository import InstalledRepository
from poetry.toml.file import TOMLFile
from poetry.utils._compat import WINDOWS
from poetry.utils.env import MockEnv
from poetry.utils.env import NullEnv
from tests.helpers import MOCK_DEFAULT_GIT_REVISION
Expand Down Expand Up @@ -1951,7 +1952,8 @@ def test_installer_required_extras_should_not_be_removed_when_updating_single_de
result = installer.run()
assert result == 0

assert installer.executor.installations_count == 4
installations = 5 if WINDOWS else 4
assert installer.executor.installations_count == installations
assert installer.executor.updates_count == 0
assert installer.executor.removals_count == 0

Expand Down

0 comments on commit 2514adc

Please sign in to comment.