cos-archives / modular-odm

A database-agnostic Object-Document Mapper for Python.
Apache License 2.0
13 stars 18 forks source link

remove asumption of order from test_simple_queries #84

Closed felliott closed 10 years ago

felliott commented 10 years ago

This branch removes the assumption of order from queries without a sort() filter. It also reorganizes the tests so that tests with identical results are grouped together. E.g. .offset(x).limit(y) should produce the same result as .limit(y).offset(x), since offset is always applied before limit. This branch builds on lazy-queryset-eval (PR #83).