mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 18:54:09 -04:00
Test for sort by id
This commit is contained in:
parent
fd3978d9d1
commit
726e4cd5fc
@ -150,6 +150,7 @@ class ReadingTest(BaseTest):
|
|||||||
'#tags':[3, 2, 1],
|
'#tags':[3, 2, 1],
|
||||||
'#yesno':[2, 1, 3],
|
'#yesno':[2, 1, 3],
|
||||||
'#comments':[3, 2, 1],
|
'#comments':[3, 2, 1],
|
||||||
|
'id': [1, 2, 3],
|
||||||
}.iteritems():
|
}.iteritems():
|
||||||
x = list(reversed(order))
|
x = list(reversed(order))
|
||||||
ae(order, cache.multisort([(field, True)],
|
ae(order, cache.multisort([(field, True)],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user