Skip to content

Commit

Permalink
Cleanup test to make it clearer.
Browse files Browse the repository at this point in the history
  • Loading branch information
derekpierre committed Dec 13, 2023
1 parent 61710c3 commit f0998d4
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tests/test_porter_configure_timeout.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@


@pytest.mark.parametrize(
"timeout_scenarios",
"provided_timeout,max_timeout,expected_timeout",
[
(None, 10, 10),
(1, 10, 1),
Expand Down Expand Up @@ -36,8 +36,9 @@
),
],
)
def test_porter_configure_timeout_defined_results(porter, timeout_scenarios):
provided_timeout, max_timeout, expected_timeout = timeout_scenarios
def test_porter_configure_timeout(
porter, provided_timeout, max_timeout, expected_timeout
):
resultant_timeout = porter._configure_timeout(
operation="test", timeout=provided_timeout, max_timeout=max_timeout
)
Expand Down

0 comments on commit f0998d4

Please sign in to comment.