@@ -193,7 +193,7 @@ def test_system_installables_are_used(slurm_system: SlurmSystem):
193
193
installer .uninstall_one = Mock (return_value = InstallStatusResult (True ))
194
194
installer .is_installed_one = Mock (return_value = InstallStatusResult (True ))
195
195
installer .mark_as_installed_one = Mock (return_value = InstallStatusResult (True ))
196
- installer ._populate_sucessful_install = Mock ()
196
+ installer ._populate_successful_install = Mock ()
197
197
198
198
installer .install ([])
199
199
assert installer .install_one .call_count == len (slurm_system .system_installables ())
@@ -245,18 +245,18 @@ def test_order_of_items_does_not_matter(self, installer: SlurmInstaller):
245
245
assert f1 ._installed_path is None , "First file is installed before testing"
246
246
assert f2 ._installed_path is None , "Second file is installed before testing"
247
247
248
- installer ._populate_sucessful_install ([f1 , f2 ], {})
248
+ installer ._populate_successful_install ([f1 , f2 ], {})
249
249
assert f1 ._installed_path is None , "First file was marked as installed, but should not be"
250
250
assert f2 ._installed_path is None , "Second file was marked as installed, but should not be"
251
251
252
- installer ._populate_sucessful_install ([f1 , f2 ], {f1 : InstallStatusResult (success = True )})
252
+ installer ._populate_successful_install ([f1 , f2 ], {f1 : InstallStatusResult (success = True )})
253
253
assert f1 ._installed_path is not None , (
254
254
"First ('self', present in the statuses) file was not marked as installed"
255
255
)
256
256
assert f2 ._installed_path is not None , "Second file was not marked as installed"
257
257
258
258
f1 ._installed_path , f2 ._installed_path = None , None
259
- installer ._populate_sucessful_install ([f2 , f1 ], {f1 : InstallStatusResult (success = True )})
259
+ installer ._populate_successful_install ([f2 , f1 ], {f1 : InstallStatusResult (success = True )})
260
260
assert f1 ._installed_path is not None , (
261
261
"First ('self', present in the statuses) file was not marked as installed"
262
262
)
0 commit comments