Skip to content

Commit

Permalink
Fix sorting issue on mysql.
Browse files Browse the repository at this point in the history
  • Loading branch information
disko committed Apr 4, 2018
1 parent 6684310 commit eb3e0d9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions kotti/tests/test_tags.py
Expand Up @@ -222,11 +222,11 @@ def test_get_content_items_for_tag_title(self, root):
# part to avoid establishing a specification.
#
result = content_with_tags(['first tag'])
assert [res.name for res in result] == ['folder_1', 'content_2']
assert sorted([res.name for res in result]) == sorted(['folder_1', 'content_2'])
result = content_with_tags(['second tag'])
assert [res.name for res in result] == ['folder_1']
assert sorted([res.name for res in result]) == sorted(['folder_1'])
result = content_with_tags(['third tag'])
assert [res.name for res in result] == ['content_1', 'content_2']
assert sorted([res.name for res in result]) == sorted(['content_1', 'content_2'])


class TestCommaSeparatedListWidget:
Expand Down

0 comments on commit eb3e0d9

Please sign in to comment.