Skip to content

Commit

Permalink
Merge pull request #2996 from freenas/QE-patch-4
Browse files Browse the repository at this point in the history
QE fix UPS port typo for pytest parametrize in test 11 and 13
  • Loading branch information
ericbsd committed May 6, 2019
2 parents f439640 + 2635349 commit 3a07c2e
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 3a07c2e

Please sign in to comment.