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