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 django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to