#NEWLINE# def _test_node_set_boot_device( self , boot_device , persistent = False ) : #NEWLINE# #INDENT# self . mgr . set_boot_device ( NODE1 [ 'uuid' ] , boot_device , persistent ) #NEWLINE# body = { #NEWLINE# #INDENT# 'boot_device' : boot_device , #NEWLINE# 'persistent' : expect , #NEWLINE# #UNINDENT# } #NEWLINE# expect = [ ( 'PUT' , ( '/v1/nodes/%s/management/boot_device' % NODE1 [ 'uuid' ] ) , { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } , body ) ] #NEWLINE# self . assertEqual ( expect , self . api . calls )