Browse files

Fixing failing playhouse tests due to change in #99

  • Loading branch information...
1 parent 6ef067c commit df26c54210e42df5d087264c70e00ee381960a2e @coleifer committed Jul 14, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 playhouse/tests.py
View
8 playhouse/tests.py
@@ -15,10 +15,10 @@ class Meta:
database = db
class ModelA(BaseSignalModel):
- a = CharField()
+ a = CharField(default='')
class ModelB(BaseSignalModel):
- b = CharField()
+ b = CharField(default='')
class BaseSweepeaModel(sweepea.Model):
class Meta:
@@ -54,7 +54,7 @@ class Meta:
class User(BaseExtModel):
username = CharField()
- password = CharField()
+ password = CharField(default='')
class Post(BaseExtModel):
user = ForeignKeyField(User)
@@ -309,7 +309,7 @@ def pre_init(sender, instance):
state.append((sender, instance.a))
ModelA.get()
- self.assertEqual(state, [(ModelA, None)])
+ self.assertEqual(state, [(ModelA, '')])
def test_post_init(self):
state = []

0 comments on commit df26c54

Please sign in to comment.