Enable RUF in ruff
This commit is contained in:
parent
ae2dc8db64
commit
c56fe649b7
1 changed files with 26 additions and 17 deletions
|
|
@ -26,9 +26,7 @@ class TestAggregateOrders:
|
|||
Note: This fixture also exists in `tests.db.test_grids`.
|
||||
"""
|
||||
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, "query", mock.query)
|
||||
|
||||
return query
|
||||
|
|
|
|||
Loading…
Reference in a new issue