#NEWLINE# def test_topic_update( self ) : #NEWLINE# #INDENT# '\n        create update\n        ' #NEWLINE# category = utils . create_category ( ) #NEWLINE# topic = utils . create_topic ( topic ) #NEWLINE# form_data = { #NEWLINE# #INDENT# 'title' : 'foobar' , #NEWLINE# #UNINDENT# } #NEWLINE# form = TopicForm ( self . user , data = form_data , instance = topic ) #NEWLINE# self . assertEqual ( form . is_valid ( ) , True )