Skip to content

Commit 24a44af

Browse files
Update unit tests
Signed-off-by: Mihaela Balutoiu <[email protected]>
1 parent 219c70d commit 24a44af

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

coriolis/tests/osmorphing/test_windows.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -551,7 +551,8 @@ def test__install_cloudbase_init(
551551
"%sWindows\\System32\\config\\SYSTEM" % self.os_root_dir)
552552

553553
mock_expand_archive.assert_called_once_with(
554-
cloudbaseinit_zip_path, cloudbaseinit_base_dir)
554+
cloudbaseinit_zip_path, cloudbaseinit_base_dir,
555+
overwrite=False)
555556

556557
self.conn.exec_ps_command.assert_called_once_with(
557558
"mkdir '%s' -Force" %
@@ -625,7 +626,8 @@ def test_install_cloudbase_init_existing_service(
625626
"HKLM\\%s" % mock_uuid4.return_value,
626627
"%sWindows\\System32\\config\\SYSTEM" % self.os_root_dir)
627628
mock_expand_archive.assert_called_once_with(
628-
cloudbaseinit_zip_path, cloudbaseinit_base_dir)
629+
cloudbaseinit_zip_path, cloudbaseinit_base_dir,
630+
overwrite=False)
629631
self.conn.exec_ps_command.assert_called_once_with(
630632
"mkdir '%s' -Force" %
631633
("%s\\Log" % cloudbaseinit_base_dir),

0 commit comments

Comments
 (0)