Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixing failing playhouse tests due to change in #99

  • Loading branch information...
commit df26c54210e42df5d087264c70e00ee381960a2e 1 parent 6ef067c
Charles Leifer authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 playhouse/tests.py
8 playhouse/tests.py
View
@@ -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 = []
Please sign in to comment.
Something went wrong with that request. Please try again.