Use tempest instead of Tempest-lib

tempest-lib has been deprecated since a year. All
the interfaces available in tempest-lib are now available
in tempest/lib.

This patch make use of tempest/lib instead of tempest-lib.
Also add tempest in test-requirements.txt

Change-Id: I6cb50b68631391f0368e8a2e6133f94c1da52376
This commit is contained in:
ghanshyam
2016-11-22 12:48:53 +09:00
parent fc7eeb6997
commit e995bfd553
10 changed files with 11 additions and 11 deletions

View File

@@ -13,8 +13,8 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
""" """
from tempest_lib.cli import base from tempest.lib.cli import base
from tempest_lib.exceptions import CommandFailed from tempest.lib.exceptions import CommandFailed
from designateclient.functionaltests import client from designateclient.functionaltests import client
from designateclient.functionaltests import config from designateclient.functionaltests import config

View File

@@ -16,7 +16,7 @@ limitations under the License.
import logging import logging
import os import os
from tempest_lib.cli import base from tempest.lib.cli import base
from designateclient.functionaltests.config import cfg from designateclient.functionaltests.config import cfg
from designateclient.functionaltests.models import FieldValueModel from designateclient.functionaltests.models import FieldValueModel

View File

@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
""" """
import six import six
from tempest_lib.cli import output_parser from tempest.lib.cli import output_parser
class Model(object): class Model(object):

View File

@@ -20,7 +20,7 @@ import tempfile
import traceback import traceback
import fixtures import fixtures
from tempest_lib.exceptions import CommandFailed from tempest.lib.exceptions import CommandFailed
from testtools.runtest import MultipleExceptions from testtools.runtest import MultipleExceptions
from designateclient.functionaltests.client import DesignateCLI from designateclient.functionaltests.client import DesignateCLI

View File

@@ -13,7 +13,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
""" """
from tempest_lib.exceptions import CommandFailed from tempest.lib.exceptions import CommandFailed
from designateclient.functionaltests.base import BaseDesignateTest from designateclient.functionaltests.base import BaseDesignateTest
from designateclient.functionaltests.datagen import random_blacklist from designateclient.functionaltests.datagen import random_blacklist

View File

@@ -13,7 +13,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
""" """
from tempest_lib.exceptions import CommandFailed from tempest.lib.exceptions import CommandFailed
from designateclient.functionaltests.base import BaseDesignateTest from designateclient.functionaltests.base import BaseDesignateTest
from designateclient.functionaltests.datagen import random_a_recordset_name from designateclient.functionaltests.datagen import random_a_recordset_name

View File

@@ -13,7 +13,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
""" """
from tempest_lib.exceptions import CommandFailed from tempest.lib.exceptions import CommandFailed
from designateclient.functionaltests.base import BaseDesignateTest from designateclient.functionaltests.base import BaseDesignateTest
from designateclient.functionaltests.datagen import random_tld from designateclient.functionaltests.datagen import random_tld

View File

@@ -13,7 +13,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
""" """
from tempest_lib.exceptions import CommandFailed from tempest.lib.exceptions import CommandFailed
from designateclient.functionaltests.base import BaseDesignateTest from designateclient.functionaltests.base import BaseDesignateTest
from designateclient.functionaltests.datagen import random_zone_name from designateclient.functionaltests.datagen import random_zone_name

View File

@@ -15,7 +15,7 @@ limitations under the License.
""" """
import unittest import unittest
from tempest_lib.exceptions import CommandFailed from tempest.lib.exceptions import CommandFailed
from designateclient.functionaltests.base import BaseDesignateTest from designateclient.functionaltests.base import BaseDesignateTest
from designateclient.functionaltests.client import DesignateCLI from designateclient.functionaltests.client import DesignateCLI

View File

@@ -13,4 +13,4 @@ sphinx!=1.3b1,<1.4,>=1.2.1 # BSD
testrepository>=0.0.18 # Apache-2.0/BSD testrepository>=0.0.18 # Apache-2.0/BSD
oslosphinx>=4.7.0 # Apache-2.0 oslosphinx>=4.7.0 # Apache-2.0
reno>=1.8.0 # Apache-2.0 reno>=1.8.0 # Apache-2.0
tempest-lib>=0.14.0 # Apache-2.0 tempest>=12.1.0 # Apache-2.0