#NEWLINE# def test_move_checked_out_file( self ) : #NEWLINE# #INDENT# self . file . check_in_or_out ( self . user , self . user , save = True ) #NEWLINE# self . file . reload ( ) #NEWLINE# assert_equal ( self . file . checkout , self . user ) #NEWLINE# folder = self . root_node . append_folder ( 'folder' ) #NEWLINE# with assert_raises ( FileNodeCheckedOutError ) : #NEWLINE# #INDENT# self . file . move_under ( folder )