#NEWLINE# def test_ensure_workspace_marker( self ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# root_dir = tempfile . mkdtemp ( ) #NEWLINE# ensure_workspace_marker ( root_dir ) #NEWLINE# self . assertTrue ( os . path . exists ( os . path . join ( root_dir , CATKIN_WORKSPACE_MARKER_FILE ) ) ) #NEWLINE# ensure_workspace_marker ( self ) #NEWLINE# #UNINDENT# finally : #NEWLINE# #INDENT# shutil . rmtree ( root_dir )