#NEWLINE# def test__parse_access_grants_w_unknown_entity_type( self ) : #NEWLINE# #INDENT# ACCESS = [ { #NEWLINE# #INDENT# 'role' : 'READER' , #NEWLINE# 'unknown' : 'UNKNOWN' , #NEWLINE# #UNINDENT# } ] #NEWLINE# client = _Client ( self . PROJECT ) #NEWLINE# dataset = self . _makeOne ( self . DS_NAME , client = client ) #NEWLINE# with self . assertRaises ( ValueError ) : #NEWLINE# #INDENT# dataset . _parse_access_grants ( ACCESS )