El miércoles, 2 de diciembre de 2020 10:00:06 (WET) Ladislav Slezak escribió:

> Accidentally I found another problem, this time in the kdump module.
> 
> If you need to mock the AutoYaST mode in the tests you would do:
> 
>   allow(Yast::Mode).to receive(:autoinstallation).and_return(true)
> 
> This looks right, doesn't it? Um.... unfortunately it's wrong. The method
> is surprisingly called "Yast::Mode.autoinst".

Yes, I agree, the name is surprising (well, I am used to it, but...). JFYI, 
there is a Yast::Mode.auto which covers autoinstallation and autoupgrade.

Regards,
Imo

-- 
Imobach González Sosa
YaST Team at SUSE LLC
https://imobachgs.github.io/

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
YaST Development mailing list -- [email protected]
To unsubscribe, email [email protected]
List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette
List Archives: 
https://lists.opensuse.org/archives/list/[email protected]

Reply via email to