def test_topic_update(self):
        category = utils.create_category()
        topic = utils.create_topic(category)
        form_data = {'title': 'foobar', }
        form = TopicForm(self.user, data=form_data, instance=topic)
        self.assertEqual(form.is_valid(), True)
create update
dataset/ETHPy150Open nitely/Spirit/spirit/topic/tests.py/TopicFormTest.test_topic_update