X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/90e14e8b619246ff787d10b94bd5a64d18e52b84..8c74d7901fe8de0abd72a182d775b639b4202577:/tests/function.py diff --git a/tests/function.py b/tests/function.py index ea27ebb..4754588 100644 --- a/tests/function.py +++ b/tests/function.py @@ -167,11 +167,15 @@ def spaces2(result=_core.Value(None)): def example(session): - result = session.query(models.Customer.id).filter( - models.Customer.account_id == account_id, models.Customer.email == email_address - ).order_by( - models.Customer.id.asc() - ).all() + result = ( + session.query(models.Customer.id) + .filter( + models.Customer.account_id == account_id, + models.Customer.email == email_address, + ) + .order_by(models.Customer.id.asc()) + .all() + ) def long_lines():