diff options
author | 2018-08-14 10:01:44 +0000 | |
---|---|---|
committer | 2018-08-14 10:01:44 +0000 | |
commit | 9dc03c9f74a02423b88f424e962790681e7cf78b (patch) | |
tree | a67b874919679cb4ce8878388249429d6ba8f974 | |
parent | a1dea84d09cefb86f02abc2dcaa843fc53f42869 (diff) | |
parent | 6ffffb99bbdfdb463db2dbfc8eaf9d9509b8a036 (diff) |
Merge "Fix unit test error for ns heal"
-rw-r--r-- | lcm/ns/tests/test_ns_heal.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lcm/ns/tests/test_ns_heal.py b/lcm/ns/tests/test_ns_heal.py index 8d2f93a6..de810503 100644 --- a/lcm/ns/tests/test_ns_heal.py +++ b/lcm/ns/tests/test_ns_heal.py @@ -23,6 +23,7 @@ from lcm.pub.utils.jobutil import JobUtil, JOB_TYPE from lcm.ns.const import NS_INST_STATUS from lcm.pub.exceptions import NSLCMException from lcm.ns.ns_heal import NSHealService +from lcm.ns.vnfs.heal_vnfs import NFHealService class TestHealNsViews(TestCase): @@ -96,7 +97,7 @@ class TestHealNsViews(TestCase): response = self.client.delete("/api/nslcm/v1/ns/%s" % self.ns_inst_id) self.assertEqual(status.HTTP_204_NO_CONTENT, response.status_code) - @mock.patch.object(NSHealService, 'start') + @mock.patch.object(NFHealService, 'start') @mock.patch.object(NSHealService, 'wait_job_finish') @mock.patch.object(NSHealService, 'update_job') def test_ns_manual_scale_thread(self, mock_start, mock_wait, mock_update): |