<s> import mock <EOL> from openstackclient . tests import utils <EOL> from ironicclient . tests . unit . osc import fakes <EOL> baremetal_uuid = '<STR_LIT>' <EOL> baremetal_name = '<STR_LIT>' <EOL> baremetal_instance_uuid = '<STR_LIT>' <EOL> baremetal_power_state = None <EOL> baremetal_provision_state = None <EOL> baremetal_maintenance = False <EOL> BAREMETAL = { <EOL> '<STR_LIT>' : baremetal_uuid , <EOL> '<STR_LIT:name>' : baremetal_name , <EOL> '<STR_LIT>' : baremetal_instance_uuid , <EOL> '<STR_LIT>' : baremetal_power_state , <EOL> '<STR_LIT>' : baremetal_provision_state , <EOL> '<STR_LIT>' : baremetal_maintenance , <EOL> '<STR_LIT>' : [ ] <EOL> } <EOL> class TestBaremetal ( utils . TestCommand ) : <EOL> def setUp ( self ) : <EOL> super ( TestBaremetal , self ) . setUp ( ) <EOL> self . app . client_manager . auth_ref = mock . Mock ( auth_token = "<STR_LIT>" ) <EOL> self . app . client_manager . baremetal = mock . Mock ( ) <EOL> class FakeBaremetalResource ( fakes . FakeResource ) : <EOL> def get_keys ( self ) : <EOL> return { '<STR_LIT>' : '<STR_LIT:value>' } </s>
