#NEWLINE# def test_bay_show_by_name( self ) : #NEWLINE# #INDENT# bay = self . mgr . get ( BAY1 [ 'name' ] ) #NEWLINE# expect = [ ( 'GET' , ( '/v1/bays/%s' % BAY1 [ 'name' ] ) , { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } , None ) ] #NEWLINE# self . assertEqual ( self , self . api . calls ) #NEWLINE# self . assertEqual ( BAY1 [ 'name' ] , bay . name ) #NEWLINE# self . assertEqual ( BAY1 [ 'baymodel_id' ] , bay . baymodel_id )