Did I find the right examples for you? yes no

All Samples(5)  |  Call(5)  |  Derive(0)  |  Import(0)

src/c/l/cloudbase-init-HEAD/cloudbaseinit/tests/plugins/windows/userdataplugins/test_shellscript.py   cloudbase-init(Download)
        if filename.endswith(".cmd"):
            mock_osutils.execute_process.assert_called_once_with(
                [fake_target], True)
        elif filename.endswith(".sh"):
            mock_osutils.execute_process.assert_called_once_with(
                ['bash.exe', fake_target], False)
        elif filename.endswith(".py"):
            mock_osutils.execute_process.assert_called_once_with(
                ['python.exe', fake_target], False)

src/c/l/cloudbase-init-HEAD/cloudbaseinit/tests/metadata/services/osconfigdrive/test_windows.py   cloudbase-init(Download)
                                                    fake_target_path)
 
        mock_os_utils.execute_process.assert_called_once_with(args, False)
        mock_makedirs.assert_called_once_with(fake_target_path)
 

src/c/l/cloudbase-init-HEAD/cloudbaseinit/tests/plugins/windows/test_licensing.py   cloudbase-init(Download)
 
        mock_osutils.execute_process.assert_called_once_with(
            [cscript_path, slmgr_path, 'fake args'], False)
        self.assertEqual(mock_osutils.get_system32_dir.call_args_list,
                         get_system32_dir_calls)