mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-7178: Correcting imports in test_escalations* test cases
This commit is contained in:
parent
676b2d1569
commit
78a6d557f8
|
|
@ -16,18 +16,32 @@
|
|||
# under the License.
|
||||
|
||||
# Import Local Modules
|
||||
from marvin.cloudstackTestCase import *
|
||||
from marvin.cloudstackException import *
|
||||
from marvin.cloudstackAPI import *
|
||||
from marvin.sshClient import SshClient
|
||||
from marvin.lib.utils import *
|
||||
from marvin.lib.base import *
|
||||
from marvin.lib.common import *
|
||||
from marvin.lib.utils import checkVolumeSize
|
||||
from marvin.codes import SUCCESS
|
||||
from marvin.cloudstackTestCase import cloudstackTestCase, unittest
|
||||
from marvin.lib.base import (PublicIPAddress,
|
||||
NetworkOffering,
|
||||
Autoscale,
|
||||
Network,
|
||||
NetworkServiceProvider,
|
||||
Template,
|
||||
VirtualMachine,
|
||||
VPC,
|
||||
VpcOffering,
|
||||
StaticNATRule,
|
||||
FireWallRule,
|
||||
NATRule,
|
||||
Vpn,
|
||||
VpnUser,
|
||||
LoadBalancerRule,
|
||||
Account,
|
||||
ServiceOffering,
|
||||
PhysicalNetwork,
|
||||
User)
|
||||
from marvin.lib.common import (get_domain,
|
||||
get_zone,
|
||||
get_template)
|
||||
from marvin.lib.utils import validateList, cleanup_resources
|
||||
from marvin.codes import PASS
|
||||
from nose.plugins.attrib import attr
|
||||
from time import sleep
|
||||
from ctypes.wintypes import BOOLEAN
|
||||
|
||||
class TestIpAddresses(cloudstackTestCase):
|
||||
|
||||
|
|
@ -1730,7 +1744,7 @@ class TestIpAddresses(cloudstackTestCase):
|
|||
"Load Balancer Sticky Policy creation Failed"
|
||||
)
|
||||
# Deleting the Sticky Policy
|
||||
deleted = LoadBalancerRule.deleteSticky(
|
||||
LoadBalancerRule.deleteSticky(
|
||||
lb_rule,
|
||||
self.userapiclient,
|
||||
id=sticky_policy.stickinesspolicy[0].id
|
||||
|
|
|
|||
|
|
@ -16,18 +16,20 @@
|
|||
# under the License.
|
||||
|
||||
# Import Local Modules
|
||||
from marvin.cloudstackTestCase import *
|
||||
from marvin.cloudstackException import *
|
||||
from marvin.cloudstackAPI import *
|
||||
from marvin.sshClient import SshClient
|
||||
from marvin.lib.utils import *
|
||||
from marvin.lib.base import *
|
||||
from marvin.lib.common import *
|
||||
from marvin.lib.utils import checkVolumeSize
|
||||
from marvin.codes import SUCCESS
|
||||
from marvin.cloudstackTestCase import cloudstackTestCase, unittest
|
||||
from marvin.lib.base import (VmSnapshot,
|
||||
Snapshot,
|
||||
DiskOffering,
|
||||
ServiceOffering,
|
||||
VirtualMachine,
|
||||
Account,
|
||||
Volume)
|
||||
from marvin.lib.common import (get_domain,
|
||||
get_zone,
|
||||
get_template)
|
||||
from marvin.lib.utils import validateList, cleanup_resources
|
||||
from marvin.codes import PASS
|
||||
from nose.plugins.attrib import attr
|
||||
from time import sleep
|
||||
from ctypes.wintypes import BOOLEAN
|
||||
|
||||
class TestSnapshots(cloudstackTestCase):
|
||||
|
||||
|
|
@ -626,4 +628,4 @@ class TestSnapshots(cloudstackTestCase):
|
|||
vm_snapshot_status,
|
||||
"Listed VM Snapshot details are not as expected"
|
||||
)
|
||||
return
|
||||
return
|
||||
|
|
|
|||
Loading…
Reference in New Issue