Enable RUF in ruff
This commit is contained in:
parent
ae2dc8db64
commit
c56fe649b7
1 changed files with 26 additions and 17 deletions
|
|
@ -83,9 +83,7 @@ class TestGridification:
|
|||
all considered `Order.pickup_address` attributes for some orders.
|
||||
"""
|
||||
mock = mocker.Mock()
|
||||
query = (
|
||||
mock.query.return_value.join.return_value.filter.return_value.all # noqa:E501
|
||||
)
|
||||
query = mock.query.return_value.join.return_value.filter.return_value.all
|
||||
monkeypatch.setattr(db, "session", mock)
|
||||
|
||||
return query
|
||||
|
|
|
|||
Loading…
Reference in a new issue