Skip to content

Commit f1a9f3d

Browse files
committed
fix
1 parent 38e5fd7 commit f1a9f3d

1 file changed

Lines changed: 4 additions & 8 deletions

File tree

tests/test_venv_manager_internet.py

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,8 @@ def test_ensure_tools_installed_no_internet(self, mock_check):
2323

2424
# Should emit a localized error and return early
2525
self.output_error.assert_called_with(
26-
(
27-
"🛑 [ERROR] Pas de connexion internet. Installation des outils annulée.",
28-
"🛑 [ERROR] No internet connection. Tool installation cancelled.",
29-
),
26+
"Pas de connexion internet. Installation des outils annulée.",
27+
"No internet connection. Tool installation cancelled.",
3028
gui=self.mock_parent,
3129
)
3230
# Verify _reset_cancel_state was NOT called (it's the next line after the check)
@@ -40,10 +38,8 @@ def test_ensure_tools_installed_system_no_internet(self, mock_check):
4038
self.manager.ensure_tools_installed_system(["tool"])
4139

4240
self.output_error.assert_called_with(
43-
(
44-
"🛑 [ERROR] Pas de connexion internet. Installation système annulée.",
45-
"🛑 [ERROR] No internet connection. System installation cancelled.",
46-
),
41+
"Pas de connexion internet. Installation système annulée.",
42+
"No internet connection. System installation cancelled.",
4743
gui=self.mock_parent,
4844
)
4945
self.assertFalse(self.manager._reset_cancel_state.called)

0 commit comments

Comments
 (0)