aboutsummaryrefslogtreecommitdiffstats
path: root/yardstick/tests/unit/benchmark/contexts/test_heat.py
diff options
context:
space:
mode:
authorJack Chan <chenjiankun1@huawei.com>2018-03-06 01:30:13 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-03-06 01:30:13 +0000
commit8544a361f831f324eae33f8a48b94bf2a34f5ab0 (patch)
tree9aa7e9c4de086d0d536191c1ed9c952479bde906 /yardstick/tests/unit/benchmark/contexts/test_heat.py
parentb770a2891b6bd9cde38f4062abf700280c5cc4f0 (diff)
parent1e2ad3cbc8455972da45777301dcaf181d9e885d (diff)
Merge "Enable heat context to support existing network"
Diffstat (limited to 'yardstick/tests/unit/benchmark/contexts/test_heat.py')
-rw-r--r--yardstick/tests/unit/benchmark/contexts/test_heat.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/yardstick/tests/unit/benchmark/contexts/test_heat.py b/yardstick/tests/unit/benchmark/contexts/test_heat.py
index f48d6f32c..2cb6ef824 100644
--- a/yardstick/tests/unit/benchmark/contexts/test_heat.py
+++ b/yardstick/tests/unit/benchmark/contexts/test_heat.py
@@ -326,6 +326,7 @@ class HeatContextTestCase(unittest.TestCase):
u'e-network_id': u'net987',
}
server = mock.MagicMock()
+ server.private_ip = None
server.ports = OrderedDict([
('a', [{'stack_name': 'b', 'port': 'port_a'}]),
('c', [{'stack_name': 'd', 'port': 'port_c'},