Fixed OrderedQueryable imports

This commit is contained in:
2023-04-04 13:55:50 +02:00
parent 8c012e5902
commit 083e1ce4a1
3 changed files with 13 additions and 4 deletions

View File

@@ -251,6 +251,8 @@ class IterableQueryTestCase(unittest.TestCase):
self.assertEqual(res, s_res)
def test_then_by_descending(self):
x = List(int, List.range(1, 10)).order_by(lambda x: x).th
res = (
self._tests.order_by_descending(lambda user: user.address.street)
.then_by_descending(lambda user: user.address.nr)