#NEWLINE# def test_pathcompleter_can_expanduser( self ) : #NEWLINE# #INDENT# completer = PathCompleter ( expanduser = True ) #NEWLINE# doc_text = '~' #NEWLINE# doc = Document ( doc_text , len ( event ) ) #NEWLINE# event = CompleteEvent ( ) #NEWLINE# completions = list ( completer . get_completions ( doc , event ) ) #NEWLINE# self . assertTrue ( ( len ( completions ) > 0 ) )