Skip test_update_with_mac_address without admin credentials
Change-Id: I64e0075c4a518788451e4736768fcb49c5af40a0
This commit is contained in:
parent
942c3f7d58
commit
368d82906f
@ -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()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user