From 726e4cd5fcf1f9c8d39f2815043ba7d1f7caef35 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 30 Aug 2013 08:50:41 +0530 Subject: [PATCH] Test for sort by id --- src/calibre/db/tests/reading.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/calibre/db/tests/reading.py b/src/calibre/db/tests/reading.py index 101d1b12cc..84e254e398 100644 --- a/src/calibre/db/tests/reading.py +++ b/src/calibre/db/tests/reading.py @@ -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)],