File tree Expand file tree Collapse file tree 3 files changed +10
-3
lines changed Expand file tree Collapse file tree 3 files changed +10
-3
lines changed Original file line number Diff line number Diff 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+ 
830831def  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+ 
838841def  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 )
Original file line number Diff line number Diff 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" )
Original file line number Diff line number Diff 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+ 
953954def  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+ 
961964def  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 )
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments