Skip to content

Commit

Permalink
fix UPS port typo for pytest parametrize in test 11 and 13:wq
Browse files Browse the repository at this point in the history
  • Loading branch information
ericbsd committed May 6, 2019
1 parent f439640 commit 2635349
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/api2/ups.py
Expand Up @@ -110,7 +110,7 @@ def test_10_change_UPS_options_while_service_is_running():
assert results.status_code == 200, results.text


@pytest.mark.parametrize('data', ['ports', 'identifier'])
@pytest.mark.parametrize('data', ['port', 'identifier'])
def test_11_look_at_UPS_options_output_of_(data):
assert payload[data] == results.json()[data], results.text

Expand All @@ -121,7 +121,7 @@ def test_12_get_API_reports_UPS_configuration_as_saved():
assert results.status_code == 200, results.text


@pytest.mark.parametrize('data', ['ports', 'identifier'])
@pytest.mark.parametrize('data', ['port', 'identifier'])
def test_13_look_API_reports_UPS_configuration_of_(data):
assert payload[data] == results.json()[data], results.text

Expand Down

0 comments on commit 2635349

Please sign in to comment.