Did I find the right examples for you? yes no

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

src/c/l/cloudbase-init-HEAD/cloudbaseinit/tests/plugins/windows/userdataplugins/test_shellscript.py   cloudbase-init(Download)
                        "shellscript.open", mock.mock_open(), create=True):
            response = self._shellscript.process(mock_part)
        mock_part.get_filename.assert_called_once_with()
        mock_gettempdir.assert_called_once_with()
        if filename.endswith(".cmd"):

src/c/l/cloudbase-init-HEAD/cloudbaseinit/tests/plugins/windows/userdataplugins/test_parthandler.py   cloudbase-init(Download)
            response = self._parthandler.process(mock_part)
 
        mock_part.get_filename.assert_called_once_with()
        mock_load_module.assert_called_once_with(os.path.join(
            'fake_directory', 'fake_name'))