Fix unittest broken by immediate enum type checks
Fix unittest broken by immediate enum type checks

pferreir/indico,ThiefMaster/indico,mvidalgarcia/indico,ThiefMaster/indico,mvidalgarcia/indico,DirkHoffmann/indico,mic4ael/indico,OmeGak/indico,mvidalgarcia/indico,mic4ael/indico,OmeGak/indico,OmeGak/indico,mic4ael/indico,indico/indico,mvidalgarcia/indico,pferreir/indico,DirkHoffmann/indico,indico/indico,ThiefMaster/indico,pferreir/indico,pferreir/indico,OmeGak/indico,DirkHoffmann/indico,indico/indico,mic4ael/indico,DirkHoffmann/indico,ThiefMaster/indico,indico/indico