def test_description_should_not_allow_blank(self): """ Description field should raise exception when value is blank. """ task = Task() # @todo how to validate one field? with self.assertRaises(ValidationError): task.full_clean()