mirror of
https://github.com/kovidgoyal/calibre.git
synced 2026-05-28 17:52:34 -04:00
Test for sort by id
This commit is contained in:
@@ -150,6 +150,7 @@ class ReadingTest(BaseTest):
|
||||
'#tags':[3, 2, 1],
|
||||
'#yesno':[2, 1, 3],
|
||||
'#comments':[3, 2, 1],
|
||||
'id': [1, 2, 3],
|
||||
}.iteritems():
|
||||
x = list(reversed(order))
|
||||
ae(order, cache.multisort([(field, True)],
|
||||
|
||||
Reference in New Issue
Block a user