commit | 7256650ff469fbdc94537cd9a5ea5daafc8b1691 | [log] [tgz] |
---|---|---|
author | rabi <ramishra@redhat.com> | Tue Feb 14 19:21:52 2017 +0530 |
committer | Rabi Mishra <ramishra@redhat.com> | Mon Feb 20 07:25:00 2017 +0000 |
tree | 7799c801527e8d670157a09a5fcc8abef900f143 | |
parent | 5f9f569acb1fb44cf2c5899f7499c1d68611805a [diff] |
Skip test_update_with_mac_address without admin credentials Change-Id: I64e0075c4a518788451e4736768fcb49c5af40a0
diff --git a/functional/test_create_update_neutron_port.py b/functional/test_create_update_neutron_port.py index 4e41b35..bd39bf4 100644 --- a/functional/test_create_update_neutron_port.py +++ b/functional/test_create_update_neutron_port.py
@@ -78,6 +78,9 @@ 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()