Replaced all imports of unittest2 with unitest imports

Change-Id: Id5796f5e1953dc9a0073f0e76a23ccce83c2bbd7
This commit is contained in:
Jose Idar 2015-03-30 10:47:33 -05:00
parent 09a514c997
commit fc0480e007
28 changed files with 27 additions and 28 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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 \

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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)

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -1,4 +1,3 @@
httpretty
unittest2
mock
flake8