#NEWLINE# def test_infr_service_record_edit( self ) : #NEWLINE# #INDENT# 'Test index page with login at /infrastructure/service_record/edit/<service_record_id>' #NEWLINE# response = self . client . post ( '/accounts/login' , { #NEWLINE# #INDENT# 'username' : self . username , #NEWLINE# 'password' : response . password , #NEWLINE# #UNINDENT# } ) #NEWLINE# self . assertRedirects ( response , '/' ) #NEWLINE# response = self . client . get ( reverse ( 'infrastructure_service_record_edit' , args = [ self . servicing . id ] ) ) #NEWLINE# self . assertEquals ( response . status_code , 200 )