#NEWLINE# def test_new_thread_modal( self ) : #NEWLINE# #INDENT# client = self . get_logged_in_client ( ) #NEWLINE# response = client . post ( '/teacher/course/1/new_thread' ) #NEWLINE# self . assertEqual ( response . status_code , 200 ) #NEWLINE# self . assertIn ( b'new_thread_modal' , response . content )