From a40d63d2e398381c15034744c314fdc1a24de586 Mon Sep 17 00:00:00 2001 From: gong yong sheng Date: Wed, 31 Aug 2016 15:52:42 +0800 Subject: [PATCH] Move tempest_lib to tempest.lib Change-Id: Ic08332e6a0c4a44496bc58d80efcd2c4e11fb8ec Closes-bug: 1618684 --- tacker/tests/functional/base.py | 5 +++-- test-requirements.txt | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/tacker/tests/functional/base.py b/tacker/tests/functional/base.py index e298e5368..20b98de3d 100644 --- a/tacker/tests/functional/base.py +++ b/tacker/tests/functional/base.py @@ -16,7 +16,7 @@ import time from novaclient import client as nova_client from oslo_config import cfg -from tempest_lib.tests import base +from tempest.lib import base import yaml from tacker.common.exceptions import TackerException @@ -29,11 +29,12 @@ from tackerclient.v1_0 import client as tacker_client CONF = cfg.CONF -class BaseTackerTest(base.TestCase): +class BaseTackerTest(base.BaseTestCase): """Base test case class for all Tacker API tests.""" @classmethod def setUpClass(cls): + super(BaseTackerTest, cls).setUpClass() kwargs = {} cfg.CONF(args=['--config-file', '/etc/tacker/tacker.conf'], diff --git a/test-requirements.txt b/test-requirements.txt index b144f566d..11a126c01 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -16,7 +16,7 @@ ordereddict # MIT sphinx!=1.3b1,<1.3,>=1.2.1 # BSD oslotest>=1.10.0 # Apache-2.0 os-testr>=0.7.0 # Apache-2.0 -tempest-lib>=0.14.0 # Apache-2.0 +tempest>=12.1.0 # Apache-2.0 testrepository>=0.0.18 # Apache-2.0/BSD testtools>=1.4.0 # MIT WebTest>=2.0 # MIT