mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #46548 from Ch3LL/profit_test
profitbrick test: check for foo,bar username,password set in profitbrick config
This commit is contained in:
commit
98e3260b9a
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ class ProfitBricksTest(ShellCase):
|
|||
username = config[profile_str][DRIVER_NAME]['username']
|
||||
password = config[profile_str][DRIVER_NAME]['password']
|
||||
datacenter_id = config[profile_str][DRIVER_NAME]['datacenter_id']
|
||||
if username == '' or password == '' or datacenter_id == '':
|
||||
if username in ('' or 'foo') or password in ('' or 'bar') or datacenter_id == '':
|
||||
self.skipTest(
|
||||
'A username, password, and an datacenter must be provided to '
|
||||
'run these tests. Check '
|
||||
|
|
Loading…
Add table
Reference in a new issue