Skip to content
This repository has been archived by the owner on Apr 7, 2022. It is now read-only.

Commit

Permalink
Merge pull request #8265 from aljazkosir/update-bad-credentials-test
Browse files Browse the repository at this point in the history
[1LP][RFR] Update "test_network_provider_add_with_bad_credentials" test
  • Loading branch information
mshriver committed Dec 18, 2018
2 parents b603651 + 7b8369d commit a2768a1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cfme/tests/networks/test_network_providers.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,10 @@ def test_network_provider_add_with_bad_credentials(provider):
default_credentials = provider.default_endpoint.credentials

# default settings
flash = 'Login failed due to a bad username or password.'
if provider.appliance.version < '5.10':
flash = 'Login failed due to a bad username or password.'
else:
flash = 'Login failed due to a bad username, password or unsupported API version.'
default_credentials.principal = "bad"
default_credentials.secret = 'notyourday'

Expand Down

0 comments on commit a2768a1

Please sign in to comment.