#NEWLINE# @ mock . patch . object ( cw , 'IronicClientWrapper' , ( lambda * _ : FAKE_CLIENT_WRAPPER ) ) #NEWLINE# def setUp( self ) : #NEWLINE# #INDENT# super ( IronicDriverGenerateConfigDriveTestCase , self ) . setUp ( ) #NEWLINE# self . flags ( ** IRONIC_FLAGS ) #NEWLINE# self . driver = ironic_driver . IronicDriver ( None ) #NEWLINE# self . driver . virtapi = fake . FakeVirtAPI ( ) #NEWLINE# self . ctx = nova_context . get_admin_context ( ) #NEWLINE# node_uuid = uuidutils . generate_uuid ( ) #NEWLINE# self . node = ironic_utils . get_test_node ( driver = 'fake' , uuid = node_uuid ) #NEWLINE# self . instance = fake_instance . fake_instance_obj ( node_uuid . ctx , node = node_uuid ) #NEWLINE# self . network_info = utils . get_test_network_info ( )