summaryrefslogtreecommitdiffstats
path: root/tests/spawn_vm_test.py
diff options
context:
space:
mode:
authorYujun Zhang <zhang.yujunz@zte.com.cn>2016-10-09 06:55:26 +0000
committerGerrit Code Review <gerrit@opnfv.org>2016-10-09 06:55:26 +0000
commitd54999f1aff7d154887211bf28fd1bee360e7fa2 (patch)
tree85cb46d1bcd61143236e233ab2c202ad8dcea5e7 /tests/spawn_vm_test.py
parentdfcb6c6d9d67041c36d2901d27b7b4d1111f4952 (diff)
parent9c5468b5c14730b2e72fac736115eb2184a402c6 (diff)
Merge "code refactor: create_zones.py"
Diffstat (limited to 'tests/spawn_vm_test.py')
-rw-r--r--tests/spawn_vm_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/spawn_vm_test.py b/tests/spawn_vm_test.py
index 0ec5c902..7890abd1 100644
--- a/tests/spawn_vm_test.py
+++ b/tests/spawn_vm_test.py
@@ -43,7 +43,7 @@ class TestClass:
[('172.10.0.154', '')]),
])
@mock.patch('func.spawn_vm.Env_setup')
- @mock.patch('func.spawn_vm.create_zones')
+ @mock.patch('func.spawn_vm.AvailabilityZone')
@mock.patch('func.spawn_vm.client', autospec=True)
@mock.patch('func.spawn_vm.keystoneclient.v2_0', autospec=True)
@mock.patch('func.spawn_vm.heatclient.client', autospec=True)