Skip to content

Commit

Permalink
LINT
Browse files Browse the repository at this point in the history
  • Loading branch information
jovany-wang committed Jul 21, 2023
1 parent 4d5390b commit 6c8e66c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/test_listening_address.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down Expand Up @@ -127,4 +128,4 @@ def run(party):
# import sys

# sys.exit(pytest.main(["-sv", __file__]))
test_listen_used_addr()
test_listen_used_address()

0 comments on commit 6c8e66c

Please sign in to comment.