Skip to content

Commit 5beee36

Browse files
committed
ran blacken
1 parent c8cfcee commit 5beee36

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

tests/unit/v1/test_async_query.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -827,17 +827,21 @@ async def test_asynccollectiongroup_get_partitions_w_offset():
827827
with pytest.raises(ValueError):
828828
[i async for i in query.get_partitions(2)]
829829

830+
830831
def test_asyncquery_collection_pipeline_type():
831832
from google.cloud.firestore_v1.async_pipeline import AsyncPipeline
833+
832834
client = make_async_client()
833835
parent = client.collection("test")
834836
query = parent._query()
835837
ppl = query.pipeline()
836838
assert isinstance(ppl, AsyncPipeline)
837839

840+
838841
def test_asyncquery_collectiongroup_pipeline_type():
839842
from google.cloud.firestore_v1.async_pipeline import AsyncPipeline
843+
840844
client = make_async_client()
841845
query = client.collection_group("test")
842846
ppl = query.pipeline()
843-
assert isinstance(ppl, AsyncPipeline)
847+
assert isinstance(ppl, AsyncPipeline)

tests/unit/v1/test_pipeline_source.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ def test_collection_w_tuple(self):
5353
assert isinstance(first_stage, stages.Collection)
5454
assert first_stage.path == "/a/b/c"
5555

56-
5756
def test_collection_group(self):
5857
instance = self._make_client().pipeline()
5958
ppl = instance.collection_group("id")

tests/unit/v1/test_query.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -950,17 +950,21 @@ def test_collection_group_get_partitions_w_offset(database):
950950
with pytest.raises(ValueError):
951951
list(query.get_partitions(2))
952952

953+
953954
def test_asyncquery_collection_pipeline_type():
954955
from google.cloud.firestore_v1.pipeline import Pipeline
956+
955957
client = make_client()
956958
parent = client.collection("test")
957959
query = parent._query()
958960
ppl = query.pipeline()
959961
assert isinstance(ppl, Pipeline)
960962

963+
961964
def test_asyncquery_collectiongroup_pipeline_type():
962965
from google.cloud.firestore_v1.pipeline import Pipeline
966+
963967
client = make_client()
964968
query = client.collection_group("test")
965969
ppl = query.pipeline()
966-
assert isinstance(ppl, Pipeline)
970+
assert isinstance(ppl, Pipeline)

0 commit comments

Comments
 (0)