This commit is contained in:
M2j 2013-04-02 19:54:23 +02:00
parent 316902fb88
commit 9612a52211
1 changed files with 1 additions and 1 deletions

View File

@ -79,5 +79,5 @@ class TestUtils(TestCase):
unsorted_list = [u'item 10a', u'item 3b', u'1st item']
# WHEN: We sort the list and use get_natural_key() to generate the sorting keys
# THEN: We get a properly sorted list
assert sorted(unsorted_list, key=get_natural_key) == [u'1st item', u'item 3b', u'item 10a'], u'Numbers should be sortet naturally'
assert sorted(unsorted_list, key=get_natural_key) == [u'1st item', u'item 3b', u'item 10a'], u'Numbers should be sorted naturally'