Skip to content

Commit

Permalink
Fixed test failures on Django 1.7+
Browse files Browse the repository at this point in the history
  • Loading branch information
charettes committed Aug 4, 2014
1 parent 9eed5f3 commit 872109f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions polymodels/tests/test_fields.py
Expand Up @@ -144,14 +144,12 @@ def test_field_deconstruction(self):
field = PolymorphicTypeField('Snake')
self.assertEqual(field.deconstruct(), (
None, 'django.db.models.fields.related.ForeignKey', [], {
'to_field': 'id',
'to': 'contenttypes.ContentType'
}
))
field = PolymorphicTypeField('Snake', null=True)
self.assertEqual(field.deconstruct(), (
None, 'django.db.models.fields.related.ForeignKey', [], {
'to_field': 'id',
'to': 'contenttypes.ContentType',
'null': True
}
Expand Down

0 comments on commit 872109f

Please sign in to comment.