You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by gi...@apache.org on 2014/07/24 16:46:19 UTC
git commit: updated refs/heads/master to 78a6d55
Repository: cloudstack
Updated Branches:
refs/heads/master 676b2d156 -> 78a6d557f
CLOUDSTACK-7178: Correcting imports in test_escalations* test cases
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/78a6d557
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/78a6d557
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/78a6d557
Branch: refs/heads/master
Commit: 78a6d557f86db354a073090fc92ea693ee235e1f
Parents: 676b2d1
Author: Gaurav Aradhye <ga...@clogeny.com>
Authored: Thu Jul 24 01:03:45 2014 -0400
Committer: Girish Shilamkar <gi...@clogeny.com>
Committed: Thu Jul 24 20:28:15 2014 +0530
----------------------------------------------------------------------
.../component/test_escalations_ipaddresses.py | 38 +++++++++++++-------
.../component/test_escalations_snapshots.py | 26 +++++++-------
2 files changed, 40 insertions(+), 24 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/78a6d557/test/integration/component/test_escalations_ipaddresses.py
----------------------------------------------------------------------
diff --git a/test/integration/component/test_escalations_ipaddresses.py b/test/integration/component/test_escalations_ipaddresses.py
index 0b31d2e..411dae0 100644
--- a/test/integration/component/test_escalations_ipaddresses.py
+++ b/test/integration/component/test_escalations_ipaddresses.py
@@ -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
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/78a6d557/test/integration/component/test_escalations_snapshots.py
----------------------------------------------------------------------
diff --git a/test/integration/component/test_escalations_snapshots.py b/test/integration/component/test_escalations_snapshots.py
index 0aa36c3..9bb3b50 100644
--- a/test/integration/component/test_escalations_snapshots.py
+++ b/test/integration/component/test_escalations_snapshots.py
@@ -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
\ No newline at end of file
+ return