Merge "Skip test_update_with_mac_address without admin credentials"

This commit is contained in:
Jenkins 2017-02-20 10:23:38 +00:00 committed by Gerrit Code Review
commit b0d725bdb8
1 changed files with 3 additions and 0 deletions

View File

@ -78,6 +78,9 @@ class UpdatePortTest(functional_base.FunctionalTestsBase):
self.assertEqual(_mac, new_mac)
def test_update_with_mac_address(self):
if not self.conf.admin_username or not self.conf.admin_password:
self.skipTest('No admin creds found, skipping')
# Setup admin clients for updating mac_address
self.setup_clients_for_admin()