diff options
author | hongyuzhao <zhao.hongyu@zte.com.cn> | 2019-12-05 16:32:27 +0800 |
---|---|---|
committer | hongyuzhao <zhao.hongyu@zte.com.cn> | 2019-12-05 17:09:31 +0800 |
commit | 2ae44b787c0795e60276c35aeb13e104ca17bfa7 (patch) | |
tree | bdcdd84ae7a96d78abfcd7cd18e3219259c0fb9a /catalog/packages/tests/test_vnfpackage.py | |
parent | f96008008bcbefd4142611c9ecca45899c5bb7d6 (diff) |
Notify about NSD and PNFD changes
Change-Id: I49eb61990766f6e54c43702e0235a9aa633ad938
Issue-ID: MODELING-269
Signed-off-by: hongyu zhao <zhao.hongyu@zte.com.cn>
Diffstat (limited to 'catalog/packages/tests/test_vnfpackage.py')
-rw-r--r-- | catalog/packages/tests/test_vnfpackage.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/catalog/packages/tests/test_vnfpackage.py b/catalog/packages/tests/test_vnfpackage.py index f016d01..37697b0 100644 --- a/catalog/packages/tests/test_vnfpackage.py +++ b/catalog/packages/tests/test_vnfpackage.py @@ -83,14 +83,14 @@ class TestNfPackage(TestCase): "uuid": "1", "toscaModelURL": "https://127.0.0.1:1234/sdc/v1/hss.csar" }]), '200'] - VnfPackageModel(vnfPackageId="2", vnfdId="zte-hss-1.0").save() + VnfPackageModel(vnfPackageId="2", vnfdId="00342b18-a5c7-11e8-998c-bf1755941f12").save() NfDistributeThread( csar_id="1", vim_ids=["1"], lab_vim_id="", job_id="2" ).run() - self.assert_job_result("2", 255, "VNF package(zte-hss-1.0) already exists.") + self.assert_job_result("2", 255, "VNF package(00342b18-a5c7-11e8-998c-bf1755941f12) already exists.") @mock.patch.object(restcall, 'call_req') @mock.patch.object(sdc, 'download_artifacts') |