#NEWLINE# def testGetRootFileEntry( self ) : #NEWLINE# #INDENT# 'Test the get root file entry functionality.' #NEWLINE# file_system = os_file_system . OSFileSystem ( self . _resolver_context ) #NEWLINE# if ( platform . system ( ) == 'Windows' ) : #NEWLINE# #INDENT# expected_location = os . getcwd ( ) #NEWLINE# ( expected_location , _ , _ ) = expected_location . partition ( '\\' ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# expected_location = '' #NEWLINE# #UNINDENT# file_entry = file_system . GetRootFileEntry ( ) #NEWLINE# self . assertIsNotNone ( file_entry ) #NEWLINE# self . assertEqual ( file_entry . name , self )