Permalink
Browse files

change length CharField BlogPostStatus.name to accommodate all the po…

…ssible states in the tests

At least PostgreSQL complains loudly when a value doesn't fit into the varchar.
  • Loading branch information...
1 parent bd8d8f5 commit 7bddc9f1d1f2ae029675e818f1d763d6dc21b4d5 @beniwohli beniwohli committed Oct 10, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 django_fsm/tests.py
View
@@ -118,7 +118,7 @@ def test_any_state_field_name_allowed(self):
class BlogPostStatus(models.Model):
- name = models.CharField(max_length=3, unique=True)
+ name = models.CharField(max_length=10, unique=True)
objects = models.Manager()
@transition(source='new', target='published')

0 comments on commit 7bddc9f

Please sign in to comment.