From 6c8e66c0f7bd124e54b378c3d104f0b7cd8fb39f Mon Sep 17 00:00:00 2001 From: Qing Wang Date: Fri, 21 Jul 2023 11:33:26 +0800 Subject: [PATCH] LINT --- tests/test_listening_address.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/test_listening_address.py b/tests/test_listening_address.py index 238740d..dbd47cc 100644 --- a/tests/test_listening_address.py +++ b/tests/test_listening_address.py @@ -96,7 +96,8 @@ def run(party): 'alice': '127.0.0.1:11012', 'bob': '127.0.0.1:11011', } - listening_address = f'0.0.0.0:{occupied_port}' if party == 'alice' else '0.0.0.0:11011' + listening_address = f'0.0.0.0:{occupied_port}' \ + if party == 'alice' else '0.0.0.0:11011' # Starting grpc server on an used port will cause AssertionError with pytest.raises(AssertionError): @@ -127,4 +128,4 @@ def run(party): # import sys # sys.exit(pytest.main(["-sv", __file__])) - test_listen_used_addr() + test_listen_used_address()