#NEWLINE# def test_get_resolver_for_resource_type_unsupported_resource_type( self ) : #NEWLINE# #INDENT# expected_msg = 'Unsupported resource: alias' #NEWLINE# self . assertRaisesRegexp ( ValueError , expected_msg , get_resolver_for_resource_type , resource_type = 'alias' )