Merge "Use tempest.lib instead of tempest-lib"

This commit is contained in:
Jenkins 2016-08-21 14:56:17 +00:00 committed by Gerrit Code Review
commit 7bb1b45919
12 changed files with 17 additions and 17 deletions

View File

@ -15,7 +15,7 @@ limitations under the License.
"""
from oslo_config import cfg
from tempest_lib import exceptions
from tempest.lib import exceptions
from functionaltests.api.v2.clients.quotas_client import QuotasClient
from functionaltests.api.v2.clients.tld_client import TLDClient

View File

@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
"""
from tempest_lib.exceptions import NotFound
from tempest.lib.exceptions import NotFound
from functionaltests.api.v2.models.recordset_model import RecordsetModel
from functionaltests.api.v2.models.recordset_model import RecordsetListModel

View File

@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
"""
from tempest_lib.exceptions import NotFound
from tempest.lib.exceptions import NotFound
from functionaltests.api.v2.models.zone_model import ZoneModel
from functionaltests.api.v2.models.zone_model import ZoneListModel
@ -70,7 +70,7 @@ class ZoneClient(ClientMixin):
def is_zone_404(self, zone_id):
try:
# tempest_lib rest client raises exceptions on bad status codes
# tempest.lib rest client raises exceptions on bad status codes
resp, model = self.get_zone(zone_id)
except NotFound:
return True

View File

@ -20,7 +20,7 @@ import sys
import traceback
import fixtures
from tempest_lib.exceptions import NotFound
from tempest.lib.exceptions import NotFound
from testtools.runtest import MultipleExceptions
from functionaltests.api.v2.clients.blacklist_client import BlacklistClient

View File

@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
"""
import dns.rdatatype
from tempest_lib import exceptions
from tempest.lib import exceptions
from functionaltests.common import datagen
from functionaltests.common import dnsclient

View File

@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
"""
from tempest_lib import exceptions
from tempest.lib import exceptions
from functionaltests.common import datagen
from functionaltests.common import utils

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
limitations under the License.
"""
from tempest_lib import exceptions
from tempest.lib import exceptions
from functionaltests.common import datagen
from functionaltests.common import utils

View File

@ -14,12 +14,12 @@ See the License for the specific language governing permissions and
limitations under the License.
"""
import tempest_lib.base
import tempest.lib.base
from functionaltests.common.config import read_config
class BaseDesignateTest(tempest_lib.base.BaseTestCase):
class BaseDesignateTest(tempest.lib.base.BaseTestCase):
@classmethod
def setUpClass(cls):

View File

@ -21,9 +21,9 @@ from config import cfg
from noauth import NoAuthAuthProvider
from six import string_types
from six.moves.urllib.parse import quote_plus
from tempest_lib.common.rest_client import RestClient
from tempest_lib.auth import KeystoneV2Credentials
from tempest_lib.auth import KeystoneV2AuthProvider
from tempest.lib.common.rest_client import RestClient
from tempest.lib.auth import KeystoneV2Credentials
from tempest.lib.auth import KeystoneV2AuthProvider
from functionaltests.common.utils import memoized
from functionaltests.common import hooks

View File

@ -18,7 +18,7 @@ import copy
import re
from six.moves.urllib import parse
from tempest_lib.auth import AuthProvider
from tempest.lib.auth import AuthProvider
class NoAuthAuthProvider(AuthProvider):

View File

@ -18,10 +18,10 @@ from functionaltests.api.v2.models.recordset_model import RecordsetModel
from functionaltests.common.models import ZoneFile
from functionaltests.common.models import ZoneFileRecord
import tempest_lib.base
import tempest.lib.base
class MetaTest(tempest_lib.base.BaseTestCase):
class MetaTest(tempest.lib.base.BaseTestCase):
def test_zone_file_model_meta_test(self):
zone_file = ZoneFile.from_text(

View File

@ -17,7 +17,7 @@ testtools>=1.4.0 # MIT
testrepository>=0.0.18 # Apache-2.0/BSD
testscenarios>=0.4 # Apache-2.0/BSD
WebTest>=2.0 # MIT
tempest-lib>=0.14.0 # Apache-2.0
tempest>=12.1.0 # Apache-2.0
reno>=1.8.0 # Apache2
# Bandit security code scanner
bandit>=1.1.0 # Apache-2.0