from django.test import TestCase
from mdotdevs.forms import ReviewForm


class MdotdevsFormTest(TestCase):

    def setUp(self):
        pass

    def test_form_input_consumption(self):
        form_data = {
            'campus_audience': 'Student',
            'campus_need': 'Test',
            'sponsor_name': 'Test Case',
            'sponsor_netid': 'testcase',
            'sponsor_email': 'testcase@uw.edu',
            'dev_name': 'Test Case',
            'dev_email': 'testcase@uw.edu',
            'support_name': 'Test Case',
            'support_email': 'testcase@uw.edu',
            'app_code': '<?php ?>'}
        form = ReviewForm(data=form_data)
        self.assertTrue(form.is_valid())

    def tearDown(self):
        pass

@@ -26,16 +26,47 @@
 estCase%0A
+from django.test import Client%0A
 from mdo
@@ -95,16 +95,16 @@
 iewForm%0A
-
 %0A%0Aclass 
@@ -161,20 +161,38 @@
         
-pass
+self.client = Client()
 %0A%0A    de
@@ -220,32 +220,133 @@
 sumption(self):%0A
+        %22%22%22%0A        Test that the form is valid when passed%0A        all required values.%0A        %22%22%22%0A
         form_dat
@@ -806,16 +806,16 @@
 m_data)%0A
-
         
@@ -848,16 +848,2119 @@
 lid())%0A%0A
+    def test_minimal_valid_form_post(self):%0A        %22%22%22%0A        Test that when given a minimal but valid form the view%0A        sends the user to the thank you page.%0A        %22%22%22%0A        form_data = %7B%0A            'campus_audience': 'Student',%0A            'campus_need': 'Test',%0A            'sponsor_name': 'Test Case',%0A            'sponsor_netid': 'testcase',%0A            'sponsor_email': 'testcase@uw.edu',%0A            'dev_name': 'Test Case',%0A            'dev_email': 'testcase@uw.edu',%0A            'support_name': 'Test Case',%0A            'support_email': 'testcase@uw.edu',%0A            'app_code': '%3C?php ?%3E'%7D%0A        form = ReviewForm(data=form_data)%0A        response = self.client.post('/developers/review/', form_data)%0A        self.assertEqual(response.status_code, 200)%0A        # Make sure the user is sent to the thank you%0A        # page after submitting valid form%0A        self.assertTrue('Thank you' in response.content)%0A%0A    def test_full_valid_form_post(self):%0A        %22%22%22%0A        Test that when given a complete, valid form the view%0A        sends the user to the thank you page.%0A        %22%22%22%0A%0A        form_data = %7B%0A            'campus_audience': 'Student',%0A            'campus_need': 'Test',%0A            'sponsor_name': 'Test Case',%0A            'sponsor_netid': 'testcase',%0A            'sponsor_email': 'testcase@uw.edu',%0A            'dev_name': 'Test Case',%0A            'dev_email': 'testcase@uw.edu',%0A            'support_name': 'Test Case',%0A            'support_email': 'testcase@uw.edu',%0A            'support_contact': 'test',%0A            'ats_review': True,%0A            'ux_review': True,%0A            'brand_review': True,%0A            'app_documentation': 'http://spacescout.uw.edu',%0A            'app_code': '%3C?php ?%3E',%0A            'anything_else': 'This is a test.'%7D%0A        form = ReviewForm(data=form_data)%0A        response = self.client.post('/developers/review/', form_data)%0A        self.assertEqual(response.status_code, 200)%0A        # Make sure the user is sent to the thank you%0A        # page after submitting valid form%0A        self.assertTrue('Thank you' in response.content)%0A%0A
     def 

Add more tests around the form.