@@ -79,31 +79,25 @@ def test_stream_stream_passing_dict(echo):
7979
8080@pytest .mark .asyncio
8181async def test_async_unary_stream_reader (async_echo ):
82- logging .debug ('test_async_unary_stream_reader %s %s' ,
8382 threading .current_thread (), asyncio .get_event_loop ())
8483 content = 'The hail in Wales falls mainly on the snails.'
8584 call = await async_echo .expand ({
8685 'content' : content ,
8786 }, metadata = metadata )
88- logging .debug ('test_async_unary_stream_reader 2' )
8987
9088 # Consume the response and ensure it matches what we expect.
9189 # with pytest.raises(exceptions.NotFound) as exc:
9290 for ground_truth in content .split (' ' ):
93- logging .debug ('test_async_unary_stream_reader 3' )
9491 response = await call .read ()
9592 assert response .content == ground_truth
96- logging .debug ('test_async_unary_stream_reader 4' )
9793 assert ground_truth == 'snails.'
9894
99- logging .debug ('test_async_unary_stream_reader 5' )
10095 trailing_metadata = await call .trailing_metadata ()
10196 assert trailing_metadata == metadata
10297
10398
10499@pytest .mark .asyncio
105100async def test_async_unary_stream_async_generator (async_echo ):
106- logging .debug ('test_async_unary_stream_async_generator' )
107101 content = 'The hail in Wales falls mainly on the snails.'
108102 call = await async_echo .expand ({
109103 'content' : content ,
@@ -123,7 +117,6 @@ async def test_async_unary_stream_async_generator(async_echo):
123117
124118@pytest .mark .asyncio
125119async def test_async_stream_unary_iterable (async_echo ):
126- logging .debug ('test_async_stream_unary_iterable' )
127120 requests = []
128121 requests .append (showcase .EchoRequest (content = "hello" ))
129122 requests .append (showcase .EchoRequest (content = "world!" ))
@@ -135,7 +128,6 @@ async def test_async_stream_unary_iterable(async_echo):
135128
136129@pytest .mark .asyncio
137130async def test_async_stream_unary_async_generator (async_echo ):
138- logging .debug ('test_async_stream_unary_async_generator' )
139131
140132 async def async_generator ():
141133 yield showcase .EchoRequest (content = "hello" )
@@ -148,7 +140,6 @@ async def async_generator():
148140
149141@pytest .mark .asyncio
150142async def test_async_stream_unary_writer (async_echo ):
151- logging .debug ('test_async_stream_unary_writer' )
152143 call = await async_echo .collect ()
153144 await call .write (showcase .EchoRequest (content = "hello" ))
154145 await call .write (showcase .EchoRequest (content = "world!" ))
@@ -160,7 +151,6 @@ async def test_async_stream_unary_writer(async_echo):
160151
161152@pytest .mark .asyncio
162153async def test_async_stream_unary_passing_dict (async_echo ):
163- logging .debug ('test_async_stream_unary_passing_dict' )
164154 requests = [{'content' : 'hello' }, {'content' : 'world!' }]
165155 call = await async_echo .collect (iter (requests ))
166156 response = await call
@@ -169,7 +159,6 @@ async def test_async_stream_unary_passing_dict(async_echo):
169159
170160@pytest .mark .asyncio
171161async def test_async_stream_stream_reader_writier (async_echo ):
172- logging .debug ('test_async_stream_stream_reader_writier' )
173162 call = await async_echo .chat (metadata = metadata )
174163 await call .write (showcase .EchoRequest (content = "hello" ))
175164 await call .write (showcase .EchoRequest (content = "world!" ))
@@ -187,7 +176,6 @@ async def test_async_stream_stream_reader_writier(async_echo):
187176
188177@pytest .mark .asyncio
189178async def test_async_stream_stream_async_generator (async_echo ):
190- logging .debug ('test_async_stream_stream_async_generator' )
191179
192180 async def async_generator ():
193181 yield showcase .EchoRequest (content = "hello" )
@@ -206,7 +194,6 @@ async def async_generator():
206194
207195@pytest .mark .asyncio
208196async def test_async_stream_stream_passing_dict (async_echo ):
209- logging .debug ('test_async_stream_stream_passing_dict' )
210197 requests = [{'content' : 'hello' }, {'content' : 'world!' }]
211198 call = await async_echo .chat (iter (requests ), metadata = metadata )
212199
0 commit comments