From 3e6684277751b8bacb26f706664be457cce1f79a Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Thu, 24 Aug 2023 00:07:19 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20post-p?= =?UTF-8?q?rocessor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- tests/unit/v1/test_aggregation.py | 6 +++++- tests/unit/v1/test_async_aggregation.py | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/tests/unit/v1/test_aggregation.py b/tests/unit/v1/test_aggregation.py index b13a485e8..dd23b5d99 100644 --- a/tests/unit/v1/test_aggregation.py +++ b/tests/unit/v1/test_aggregation.py @@ -611,7 +611,11 @@ def test_aggregation_from_query(): kwargs = _helpers.make_retry_timeout_kwargs(retry, timeout) # Execute the query and check the response. - for aggregation_query in [query.count(alias="total"), query.sum("foo", alias="total"), query.avg("foo", alias="total")]: + for aggregation_query in [ + query.count(alias="total"), + query.sum("foo", alias="total"), + query.avg("foo", alias="total"), + ]: # reset api mock firestore_api.run_aggregation_query.reset_mock() firestore_api.run_aggregation_query.return_value = iter([response_pb]) diff --git a/tests/unit/v1/test_async_aggregation.py b/tests/unit/v1/test_async_aggregation.py index d81e88789..8c9ed5a70 100644 --- a/tests/unit/v1/test_async_aggregation.py +++ b/tests/unit/v1/test_async_aggregation.py @@ -456,7 +456,11 @@ async def test_async_aggregation_from_query(): kwargs = _helpers.make_retry_timeout_kwargs(retry, timeout) # Execute each aggregation query type and check the response. - for aggregation_query in [query.count(alias="total"), query.sum("foo", alias="total"), query.avg("foo", alias="total")]: + for aggregation_query in [ + query.count(alias="total"), + query.sum("foo", alias="total"), + query.avg("foo", alias="total"), + ]: # reset api mock firestore_api.run_aggregation_query.reset_mock() firestore_api.run_aggregation_query.return_value = iter([response_pb])