Imho all but 4 are redundant. That is already tested in django itself.

Regards,
Esau Rodriguez.
El 15/07/2014 16:48, "Tianyi Wang" <[email protected]> escribió:

> Hi,
>
> I have a very simple model:
>
> class Action(models.Model):
>     name = models.CharField('Name', max_length=100)
>     deleted = models.BooleanField('Deleted', default=False)
>
>     def __unicode__(self):
>         return self.name
>
>     class Meta:
>         ordering = ('name',)
>
> My tests for this model is at
> https://gist.github.com/tianyi33/f8c327d8b539a7585cec
>
> Do you think my tests are reasonable or some of them are redundant?
>
> Thanks
>
> Tianyi
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/dbe37d7f-c9db-48c6-8757-6251689a1141%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/dbe37d7f-c9db-48c6-8757-6251689a1141%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAB4Jw76CsL0JAimFrXU3FmuroZ-%3D7z9b1oXqJhm7picwVmO2Kw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to