title: How can I test a form's validation logic in a unit test driver in Django?
body: <p>I want to test the is_valid portion of a form's validation logic.  In my test driver I have:</p>
  
  <pre>
    test_animal = Animal(name="cat", number_paws="4")
    test_animal_form = AnimalForm(instance=test_animal)
    assertEqual(test_animal_form.is_valid(), True)
  
  </pre>
  
  <p>The assertion fails, but from what I see there shouldn't be any errors in the form.  I don't see any validation errors in the form.  Should this work as a test case if the test_animal instance when loaded into the form should validate?</p>