Fix gate failure

Change-Id: I4dcb988b0e832022eb8118eabaa92e29e9408e3e
This commit is contained in:
Anusha Ramineni 2016-05-09 08:50:35 +05:30
parent 507744f3df
commit 07406b00d5
1 changed files with 3 additions and 3 deletions

View File

@ -23,7 +23,7 @@ from tempest.lib.common.utils import data_utils
from tempest.lib import exceptions
from tempest import manager as tempestmanager
from tempest.scenario import manager
from tempest.services.network import resources as net_resources
from tempest.scenario import network_resources
from tempest import test
from congress_tempest_tests.services.policy import policy_client
@ -203,8 +203,8 @@ class ScenarioPolicyBase(manager.NetworkScenarioTest):
raise exceptions.TimeoutException("No new port attached to the "
"server in time (%s sec) !"
% CONF.network.build_timeout)
new_port = net_resources.DeletablePort(client=self.network_client,
**self.new_port_list[0])
new_port = network_resources.DeletablePort(client=self.network_client,
**self.new_port_list[0])
def check_new_nic():
new_nic_list = self._get_server_nics(ssh_client)