Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit dddb4d3

Browse files
committed
chore: fix coverage
1 parent 1a64fff commit dddb4d3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def default(session, install_grpc=True):
111111
"--cov=tests.unit",
112112
"--cov-append",
113113
"--cov-config=.coveragerc",
114-
"--cov-report=",
114+
"--cov-report=html",
115115
"--cov-fail-under=0",
116116
# Running individual tests with parallelism enabled is usually not helpful.
117117
"-n=auto",

tests/unit/test_bidi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -813,7 +813,7 @@ def test_rpc_callback_fires_when_consumer_start_fails(self):
813813
bidi_rpc.add_done_callback(callback)
814814
bidi_rpc._start_rpc.side_effect = expected_exception
815815

816-
consumer = bidi.BackgroundConsumer(bidi_rpc, on_response=lambda: None)
816+
consumer = bidi.BackgroundConsumer(bidi_rpc, on_response=None)
817817
consumer.start()
818818
assert callback.call_args.args[0] == expected_exception
819819

0 commit comments

Comments
 (0)