Did I find the right examples for you? yes no

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

src/c/l/cloudbase-init-HEAD/cloudbaseinit/tests/plugins/windows/test_extendvolumes.py   cloudbase-init(Download)
        self._extend_volumes._extend_volumes(mock_pack, [mock_volume_idxs])
        mock_pack.QueryVolumes.assert_called_once_with()
        mock_enum.Next.assert_called_with(1)
        mock_unk.QueryInterface.assert_called_once_with(_vds_mock)
        mock_volume.GetProperties.assert_called_once_with()
 
        mock_pack.QueryDisks.assert_called_once_with()
        mock_enum.Next.assert_called_with(1)
        mock_unk.QueryInterface.assert_called_once_with(mock_IVdsDisk)
        _ctypes_mock.addressof.assert_called_with(mock_extents_p.contents)
        mock_svc.QueryProviders.assert_called_once_with(
            mock_VDS_QUERY_SOFTWARE_PROVIDERS)
        mock_enum.Next.assert_called_with(1)
        mock_unk.QueryInterface.assert_called_once_with(mock_IVdsSwProvider)
        self.assertEqual(response, ['fake providers'])
 
        mock_provider.QueryPacks.assert_called_once_with()
        mock_enum.Next.assert_called_with(1)
        mock_unk.QueryInterface.assert_called_once_with(mock_IVdsPack)
        self.assertEqual(response, ['fake packs'])