@@ -0,0 +1,685 @@
+from django.test import TestCase%0Afrom app_forum.models import Forum, Comment%0Afrom app_forum.forms import CommentForm, ThreadForm%0A%0A# test for forms%0A%0Aclass CommentFormTest(TestCase):%0A%0A    def test_comment_forms(self):%0A        form_data = %7B%0A            'comment_content' : 'comment'%0A        %7D%0A        form = CommentForm(data=form_data)%0A        self.assertTrue(form.is_valid())%0A%0Aclass ThreadFormTest(TestCase):%0A%0A    def test_thread_forms(self):%0A        thread_data = %7B%0A            'forum_title' : 'title',%0A            'forum_category' : 'category',%0A            'forum_content' : 'content'%0A        %7D%0A        thread = ThreadForm(data=thread_data)%0A        self.assertFalse(thread.is_valid())%0A

write tests for forms