summaryrefslogtreecommitdiffstats
path: root/tests/unit/benchmark/contexts/test_heat.py
diff options
context:
space:
mode:
authorRoss Brattain <ross.b.brattain@intel.com>2017-08-29 22:29:30 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-08-29 22:29:30 +0000
commit2c76fe2cdc8c3f5ff5101e80f0621da33fbfbe4f (patch)
treefbe6d49edc5db176897b3575cfc8f663b9b28cdd /tests/unit/benchmark/contexts/test_heat.py
parent96b4d985bb8d83751e65a3ad5fa710e9eeddcb9b (diff)
parenta5a2d9babbd0ef48e8e8ccf64a72dd9effa9f11d (diff)
Merge "DRAFT: model: remove vld_id not needed"
Diffstat (limited to 'tests/unit/benchmark/contexts/test_heat.py')
-rw-r--r--tests/unit/benchmark/contexts/test_heat.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/unit/benchmark/contexts/test_heat.py b/tests/unit/benchmark/contexts/test_heat.py
index 658a8e580..cc0c7bc8e 100644
--- a/tests/unit/benchmark/contexts/test_heat.py
+++ b/tests/unit/benchmark/contexts/test_heat.py
@@ -185,9 +185,7 @@ class HeatContextTestCase(unittest.TestCase):
def test_add_server_port(self):
network1 = mock.MagicMock()
- network1.vld_id = 'vld111'
network2 = mock.MagicMock()
- network2.vld_id = 'vld777'
self.test_context.name = 'foo'
self.test_context.stack = mock.MagicMock()
self.test_context.networks = {
@@ -229,7 +227,6 @@ class HeatContextTestCase(unittest.TestCase):
"network_name": 'a',
"local_mac": '00:01',
"local_ip": '10.20.30.45',
- "vld_id": 'vld111',
}
self.test_context.add_server_port(server)
self.assertEqual(server.private_ip, '10.20.30.45')