Skip to content

Commit

Permalink
Merge branch 'hotfix/0.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
joke2k committed Jun 21, 2014
2 parents c4e374f + e7b60bc commit fc90286
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ def test_conf_textfield(self):
from idioticon.conf import settings
self.assertEqual(settings.IDIOTICON_TEXT_FIELD, self.custom_text_field)
from idioticon import models
definition_field = filter(lambda x: x.name == 'definition', models.Term._meta.fields)[0]
definition_field = list(filter(lambda x: x.name == 'definition', models.Term._meta.fields))[0]
self.assertIsInstance(definition_field, models.TermDefinitionField)

@override_settings(IDIOTICON_THEME='abbr')
Expand Down

0 comments on commit fc90286

Please sign in to comment.