File tree Expand file tree Collapse file tree
packages/pynumaflow/tests/source Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -196,7 +196,10 @@ def test_partitions(async_source_server) -> None:
196196
197197
198198def test_partitions_default_total_partitions_is_none (async_source_server ) -> None :
199- """Verify total_partitions is not set when the source doesn't override total_partitions_handler."""
199+ """
200+ Verify total_partitions is not set when the source doesn't override
201+ total_partitions_handler.
202+ """
200203 with grpc .insecure_channel (server_port ) as channel :
201204 stub = source_pb2_grpc .SourceStub (channel )
202205 request = _empty_pb2 .Empty ()
@@ -240,7 +243,9 @@ def async_source_server_with_total_partitions():
240243
241244
242245def test_partitions_with_total_partitions (async_source_server_with_total_partitions ) -> None :
243- """Verify total_partitions flows through gRPC when the source implements total_partitions_handler."""
246+ """
247+ Verify total_partitions flows through gRPC when the source implements total_partitions_handler.
248+ """
244249 with grpc .insecure_channel (server_port_tp ) as channel :
245250 stub = source_pb2_grpc .SourceStub (channel )
246251 request = _empty_pb2 .Empty ()
You can’t perform that action at this time.
0 commit comments