#NEWLINE# def test_wildcard_import( self ) : #NEWLINE# #INDENT# m = self . parser . parse_string ( '\n        import foo.bar.*;\n        ' ) #NEWLINE# self . assertEqual ( m . import_declarations , [ model . ImportDeclaration ( model . Name ( 'foo.bar' ) , on_demand = True ) ] )