#NEWLINE# def test_get_success_url( self ) : #NEWLINE# #INDENT# 'get_success_url should return the URL of the invite list page.' #NEWLINE# view = views . InviteCreateView ( ) #NEWLINE# view . request = self . request #NEWLINE# result = view . get_success_url ( ) #NEWLINE# self . assertEqual ( result , reverse ( 'invites' ) )