#NEWLINE# def test_certificate_table_returns_correct_html( self ) : #NEWLINE# #INDENT# client = Client ( ) #NEWLINE# client . login ( username = TEST_USER_USERNAME , password = TEST_USER_PASSWORD ) #NEWLINE# response = client . post ( '/certificates_table' ) #NEWLINE# self . assertEqual ( response . status_code , 200 ) #NEWLINE# self . assertIn ( b'view_1_btn' , response . content ) #NEWLINE# self . assertIn ( b'certificate/1' , response . content )