Skip to content

Commit

Permalink
Merge tag '0.1' into develop
Browse files Browse the repository at this point in the history
Fix tests for python3
  • Loading branch information
joke2k committed Jun 21, 2014
2 parents dccb33f + fc90286 commit 5d0d7c5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion idioticon/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@


__author__ = 'openpolis'
__version__ = (0, 0, 1)
__version__ = (0, 1, 0)

def get_version(version=None):
"""
Expand Down
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 5d0d7c5

Please sign in to comment.