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:
@@ -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
|
||||||
|
@@ -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
|
||||||
|
@@ -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):
|
||||||
|
@@ -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
|
||||||
|
@@ -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
|
||||||
|
@@ -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
|
||||||
|
@@ -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
|
||||||
|
@@ -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
|
||||||
|
@@ -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
|
||||||
|
@@ -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
|
||||||
|
Reference in New Issue
Block a user