summaryrefslogtreecommitdiff
path: root/heat/tests/test_notifications.py
diff options
context:
space:
mode:
authorhuangtianhua <huangtianhua@huawei.com>2014-12-04 16:58:53 +0800
committerhuangtianhua <huangtianhua@huawei.com>2015-01-13 09:59:49 +0800
commitc2bf586880807005fd8e762177988a38a85ef736 (patch)
tree5c1fbc39a370ebe90140658aa9fd4da648abbc82 /heat/tests/test_notifications.py
parent1557d610b1695125a2868d0738d4fa02e40e8d1b (diff)
downloadheat-c2bf586880807005fd8e762177988a38a85ef736.tar.gz
Split wait condition into separate files
Move OS::Heat::WaitCondition resource to /resources/openstack/wait_condition.py and move AWS::CloudFormation::WaitCondition resource to /resources/aws/wait_condition.py Change-Id: I35d8615c5294950a07ba1318eb0108699179e591 Implements: blueprint decouple-aws-os-resources
Diffstat (limited to 'heat/tests/test_notifications.py')
-rw-r--r--heat/tests/test_notifications.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/heat/tests/test_notifications.py b/heat/tests/test_notifications.py
index 8b6e1f0fd..8ccac03c0 100644
--- a/heat/tests/test_notifications.py
+++ b/heat/tests/test_notifications.py
@@ -24,10 +24,10 @@ from heat.engine import parser
from heat.engine import resource
# imports for mocking
from heat.engine.resources.aws import autoscaling_group as aws_asg
+from heat.engine.resources.aws import wait_condition as aws_wc
from heat.engine.resources import instance
from heat.engine.resources import loadbalancer
from heat.engine.resources import user
-from heat.engine.resources import wait_condition as waitc
from heat.engine import signal_responder as signal
from heat.engine import stack_resource
from heat.tests import common
@@ -183,7 +183,7 @@ class ScaleNotificationTest(common.HeatTestCase):
self.patchobject(loadbalancer.LoadBalancer, 'handle_update')
self.patchobject(user.User, 'handle_create')
self.patchobject(user.AccessKey, 'handle_create')
- self.patchobject(waitc.WaitCondition, 'handle_create')
+ self.patchobject(aws_wc.WaitCondition, 'handle_create')
self.patchobject(signal.SignalResponder, 'handle_create')
def expected_notifs_calls(self, group, adjust,