Replaced all imports of unittest2 with unitest imports
Change-Id: Id5796f5e1953dc9a0073f0e76a23ccce83c2bbd7
This commit is contained in:
parent
09a514c997
commit
fc0480e007
@ -15,7 +15,7 @@ limitations under the License.
|
||||
"""
|
||||
|
||||
import json
|
||||
import unittest2 as unittest
|
||||
import unittest
|
||||
|
||||
from cloudcafe.compute.common.models.metadata import Metadata, MetadataItem
|
||||
|
||||
|
@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
"""
|
||||
|
||||
import unittest2 as unittest
|
||||
import unittest
|
||||
|
||||
from cloudcafe.compute.extensions.console_output_api.models.console_output\
|
||||
import VncConsoleOutput
|
||||
|
@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
"""
|
||||
|
||||
import unittest2 as unittest
|
||||
import unittest
|
||||
|
||||
from cloudcafe.compute.extensions.console_output_api.models.requests\
|
||||
import GetConsoleOutput
|
||||
|
@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
"""
|
||||
|
||||
import unittest2 as unittest
|
||||
import unittest
|
||||
|
||||
from cloudcafe.compute.extensions.rescue_api.models.responses \
|
||||
import RescueResponse
|
||||
|
@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
"""
|
||||
|
||||
import unittest2 as unittest
|
||||
import unittest
|
||||
|
||||
from cloudcafe.compute.extensions.vnc_console_api.models.vnc_console\
|
||||
import VncConsole
|
||||
|
@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
"""
|
||||
|
||||
import unittest2 as unittest
|
||||
import unittest
|
||||
|
||||
from cloudcafe.compute.extensions.vnc_console_api.models.requests\
|
||||
import GetVncConsole
|
||||
|
@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
"""
|
||||
|
||||
import unittest2 as unittest
|
||||
import unittest
|
||||
import xml.etree.ElementTree as ET
|
||||
|
||||
from cloudcafe.compute.extensions.extensions_api.models.request import \
|
||||
|
@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
"""
|
||||
|
||||
import unittest2 as unittest
|
||||
import unittest
|
||||
from httpretty import HTTPretty
|
||||
|
||||
|
||||
|
@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
"""
|
||||
|
||||
import unittest2 as unittest
|
||||
import unittest
|
||||
|
||||
from cloudcafe.compute.flavors_api.models.flavor_access \
|
||||
import FlavorAccess, FlavorAccessList
|
||||
|
@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
"""
|
||||
|
||||
import unittest2 as unittest
|
||||
import unittest
|
||||
|
||||
from cloudcafe.compute.flavors_api.models.flavor_extra_specs \
|
||||
import FlavorExtraSpecs
|
||||
|
@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
"""
|
||||
|
||||
import unittest2 as unittest
|
||||
import unittest
|
||||
|
||||
from cloudcafe.compute.common.constants import Constants
|
||||
from cloudcafe.compute.flavors_api.models.flavor import Flavor
|
||||
|
@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
"""
|
||||
|
||||
import unittest2 as unittest
|
||||
import unittest
|
||||
|
||||
from cloudcafe.compute.hosts_api.models.hosts import Host
|
||||
|
||||
|
@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
"""
|
||||
|
||||
import unittest2 as unittest
|
||||
import unittest
|
||||
from cloudcafe.compute.hypervisors_api.model.hypervisor import Hypervisors
|
||||
|
||||
|
||||
|
@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
"""
|
||||
|
||||
import unittest2 as unittest
|
||||
import unittest
|
||||
from cloudcafe.compute.hypervisors_api.model.hypervisor import HypervisorsMin
|
||||
|
||||
|
||||
|
@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
"""
|
||||
|
||||
import unittest2 as unittest
|
||||
import unittest
|
||||
|
||||
from cloudcafe.compute.images_api.models.image import Image
|
||||
|
||||
|
@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
"""
|
||||
|
||||
import unittest2 as unittest
|
||||
import unittest
|
||||
|
||||
from cloudcafe.compute.limits_api.models.limit import TenantLimits
|
||||
|
||||
|
@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
"""
|
||||
|
||||
import unittest2 as unittest
|
||||
import unittest
|
||||
|
||||
from cloudcafe.compute.quotas_api.models.requests import UpdateQuotaRequest
|
||||
|
||||
|
@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
"""
|
||||
|
||||
import unittest2 as unittest
|
||||
import unittest
|
||||
|
||||
from cloudcafe.compute.quotas_api.models.quotas import Quota
|
||||
|
||||
|
@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
"""
|
||||
|
||||
import unittest2 as unittest
|
||||
import unittest
|
||||
|
||||
from cloudcafe.compute.extensions.security_groups_api.models.\
|
||||
requests import CreateSecurityGroupRule
|
||||
|
@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
"""
|
||||
|
||||
import unittest2 as unittest
|
||||
import unittest
|
||||
|
||||
from cloudcafe.compute.extensions.security_groups_api.models.\
|
||||
security_group_rule import SecurityGroupRule
|
||||
|
@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
"""
|
||||
|
||||
import unittest2 as unittest
|
||||
import unittest
|
||||
import xml.etree.ElementTree as ET
|
||||
|
||||
from cloudcafe.compute.servers_api.models.requests import CreateServer
|
||||
|
@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
"""
|
||||
|
||||
import unittest2 as unittest
|
||||
import unittest
|
||||
|
||||
from cloudcafe.compute.common.types import ComputeTaskStates
|
||||
from cloudcafe.compute.servers_api.models.servers import Server
|
||||
|
@ -18,7 +18,7 @@ from copy import deepcopy
|
||||
from httpretty import HTTPretty
|
||||
import os
|
||||
import re
|
||||
import unittest2 as unittest
|
||||
import unittest
|
||||
|
||||
from cloudcafe.images.v2.client import ImagesClient
|
||||
from cloudcafe.images.v2.models.image import Image
|
||||
|
@ -18,7 +18,7 @@ from copy import deepcopy
|
||||
import dateutil.parser
|
||||
import json
|
||||
import os
|
||||
import unittest2 as unittest
|
||||
import unittest
|
||||
|
||||
from cloudcafe.images.common.types import (
|
||||
ImageContainerFormat, ImageDiskFormat, ImageStatus, ImageVisibility)
|
||||
|
@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
"""
|
||||
|
||||
import unittest2 as unittest
|
||||
import unittest
|
||||
|
||||
from cloudcafe.images.v2.models.image import Member
|
||||
|
||||
|
@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
"""
|
||||
|
||||
import unittest2 as unittest
|
||||
import unittest
|
||||
|
||||
from cloudcafe.images.v2.models.image import Members, Member
|
||||
|
||||
|
@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
"""
|
||||
|
||||
import unittest2 as unittest
|
||||
import unittest
|
||||
|
||||
from lbaascafe.lbaas.lbaas_api.clients.base_load_balancers_client \
|
||||
import BaseLoadBalancersClient
|
||||
|
@ -1,4 +1,3 @@
|
||||
httpretty
|
||||
unittest2
|
||||
mock
|
||||
flake8
|
||||
|
Loading…
x
Reference in New Issue
Block a user