Tempest: change tempest_lib to tempest.lib

Due to a recent upstream change, tempest project switched to
using in-tree tempest lib instead of tempest_lib. We need to
change our NSX tempest plugin test to use in-tree tempest lib too.

Upstream change:
https://review.openstack.org/#/c/284911

Fixes-Bug: #1552453

Change-Id: I522d234d948f5b7a6f70dec69c98c44eb5d7582f
This commit is contained in:
Tong Liu 2016-03-02 23:10:59 +00:00
parent e5a97461cc
commit cf38354175
17 changed files with 28 additions and 28 deletions

View File

@ -12,8 +12,8 @@
import time
from tempest_lib.common.utils import misc as misc_utils
from tempest_lib import exceptions as lib_exc
from tempest.lib.common.utils import misc as misc_utils
from tempest.lib import exceptions as lib_exc
from tempest import exceptions
from vmware_nsx_tempest.services import network_client_base as base
@ -212,7 +212,7 @@ class LoadBalancerV1Client(base.BaseNetworkClient):
return self._update_lb(VIP_RID, vip_id, **body)
# Following 3 methods are specifically to load-balancer V1 client.
# They are being implemented by the pareant tempest_lib.common.rest_client
# They are being implemented by the pareant tempest.lib.common.rest_client
# with different calling signatures, only id, no resoure_type. Because,
# starting in Liberty release, each resource should have its own client.
# Since V1 is deprecated, we are not going to change it, and

View File

@ -14,8 +14,8 @@
# under the License.
import netaddr
from tempest_lib.common.utils import data_utils
from tempest_lib import exceptions
from tempest.lib.common.utils import data_utils
from tempest.lib import exceptions
from tempest.api.network import base
from tempest import config

View File

@ -13,7 +13,7 @@
# License for the specific language governing permissions and limitations
# under the License.
from tempest_lib.common.utils import data_utils
from tempest.lib.common.utils import data_utils
from tempest import config
from tempest import test

View File

@ -16,7 +16,7 @@
from tempest import test
from oslo_log import log as logging
from tempest_lib.common.utils import data_utils
from tempest.lib.common.utils import data_utils
import test_subnets as SNET
LOG = logging.getLogger(__name__)

View File

@ -16,9 +16,9 @@
from tempest.api.network import base
from tempest import config
from tempest.lib.common.utils import data_utils
from tempest.lib import decorators
from tempest import test
from tempest_lib.common.utils import data_utils
from tempest_lib import decorators
from vmware_nsx_tempest.services import base_l2gw
from vmware_nsx_tempest.services import l2_gateway_client as L2GW

View File

@ -20,8 +20,8 @@ from tempest.api.network import base
from tempest import config
from tempest import test
from tempest_lib.common.utils import data_utils
from tempest_lib import decorators
from tempest.lib.common.utils import data_utils
from tempest.lib import decorators
from vmware_nsx_tempest.services import base_l2gw
from vmware_nsx_tempest.services import l2_gateway_client as L2GW

View File

@ -16,8 +16,8 @@
import re
import six
from tempest_lib.common.utils import data_utils
from tempest_lib import decorators
from tempest.lib.common.utils import data_utils
from tempest.lib import decorators
import base_provider as base
from tempest import config

View File

@ -14,8 +14,8 @@
# License for the specific language governing permissions and limitations
# under the License.
from tempest_lib.common.utils import data_utils
from tempest_lib import exceptions as lib_exc
from tempest.lib.common.utils import data_utils
from tempest.lib import exceptions as lib_exc
from tempest.api.network import base
from tempest import config

View File

@ -16,7 +16,7 @@
import re
import time
from tempest_lib.common.utils import data_utils
from tempest.lib.common.utils import data_utils
from tempest.api.network import base_routers as base
from tempest import config

View File

@ -21,9 +21,9 @@ from tempest import test
import netaddr
from oslo_log import log as logging
import six
from tempest_lib.common.utils import data_utils
from tempest_lib import decorators
from tempest_lib import exceptions
from tempest.lib.common.utils import data_utils
from tempest.lib import decorators
from tempest.lib import exceptions
CONF = config.CONF

View File

@ -16,8 +16,8 @@
import six
from tempest_lib.common.utils import data_utils
from tempest_lib import decorators
from tempest.lib.common.utils import data_utils
from tempest.lib import decorators
from tempest.api.network import base
from tempest import config

View File

@ -19,7 +19,7 @@ from tempest import config
from tempest import test
from oslo_log import log as logging
from tempest_lib.common.utils import data_utils
from tempest.lib.common.utils import data_utils
import test_subnets as SNET
CONF = config.CONF

View File

@ -29,8 +29,8 @@ from tempest.scenario import manager
from tempest import test
import netaddr
from tempest_lib.common.utils import data_utils
from tempest_lib import exceptions
from tempest.lib.common.utils import data_utils
from tempest.lib import exceptions
CONF = config.CONF
LOG = manager.log.getLogger(__name__)

View File

@ -19,7 +19,7 @@ from tempest import config
from tempest import test
import manager_topo_deployment as dmgr
from tempest_lib.common.utils import data_utils
from tempest.lib.common.utils import data_utils
CONF = config.CONF
LOG = dmgr.manager.log.getLogger(__name__)

View File

@ -18,7 +18,7 @@ import re
import time
from oslo_log import log as logging
from tempest_lib.common.utils import data_utils
from tempest.lib.common.utils import data_utils
import testtools
from tempest import config

View File

@ -16,7 +16,7 @@
import re
import six
from tempest_lib.common.utils import data_utils
from tempest.lib.common.utils import data_utils
from tempest.common import waiters
from tempest import config

View File

@ -20,7 +20,7 @@ import tempfile
import time
import urllib2
from tempest_lib.common.utils import data_utils
from tempest.lib.common.utils import data_utils
from tempest import config
from tempest import exceptions