#NEWLINE# def test_fail_to_load_new_drivers( self ) : #NEWLINE# #INDENT# self . flags ( compute_driver = 'nova.virt.amiga' ) #NEWLINE# def _fake_exit( error ) : #NEWLINE# #INDENT# raise test . TestingException ( ) #NEWLINE# #UNINDENT# self . stubs . Set ( sys , 'exit' , self ) #NEWLINE# self . assertRaises ( test . TestingException , manager . ComputeManager )