Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
jkbrzt committed Oct 26, 2024
1 parent b58d001 commit 7bd3af2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_network.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def test_non_existent_interface_arg(httpbin):
('-10-1', OUTSIDE_VALID_PORT_RANGE_ERROR),
('1--1', OUTSIDE_VALID_PORT_RANGE_ERROR),
('-10--1', OUTSIDE_VALID_PORT_RANGE_ERROR),
('1-{MAX_PORT + 1}', OUTSIDE_VALID_PORT_RANGE_ERROR),
(f'1-{MAX_PORT + 1}', OUTSIDE_VALID_PORT_RANGE_ERROR),
])
def test_parse_local_port_arg(local_port_arg, expected_output):
expected_error = expected_output if isinstance(expected_output, str) else None
Expand Down

0 comments on commit 7bd3af2

Please sign in to comment.