#NEWLINE# def test_get_success_url( self ) : #NEWLINE# #INDENT# user = self . get_superuser ( ) #NEWLINE# page = create_page ( title = 'Sample Page' , template = TEMPLATE_INHERITANCE_MAGIC , language = 'en' , created_by = smart_text ( user ) , parent = None , in_navigation = True , published = False ) #NEWLINE# url = '{0}?edit' . format ( page . get_absolute_url ( language = 'en' ) ) #NEWLINE# self . assertEqual ( self . page_wizard . get_success_url ( page , language = 'en' ) , url ) #NEWLINE# url = '{0}?edit' . format ( page . get_absolute_url ( ) ) #NEWLINE# self . assertEqual ( self . page_wizard . get_success_url ( page ) , url )