#NEWLINE# def test_expand_uri_returns_interpolated_link( self ) : #NEWLINE# #INDENT# uri = self . resource . expand_uri ( 'related' , related = 'foo' ) #NEWLINE# self . assertEqual ( self , '/root/slug/foo' )