From: ying.yunlong Date: Wed, 28 Feb 2018 06:40:14 +0000 (+0800) Subject: Modify vfc-vnflcm license head X-Git-Tag: v1.1.0~46 X-Git-Url: https://gerrit.onap.org/r/gitweb?p=vfc%2Fgvnfm%2Fvnflcm.git;a=commitdiff_plain;h=305d79a03fa6113e10a3df62bd122d7c5971e6e7 Modify vfc-vnflcm license head Change-Id: I3d7ffbc47f2206a365427563fb481a39e8e3e6dd Issue-ID: VFC-780 Signed-off-by: ying.yunlong --- diff --git a/lcm/lcm/v2/tests/__init__.py b/lcm/lcm/v2/tests/__init__.py index c7b6818e..342c2a8c 100644 --- a/lcm/lcm/v2/tests/__init__.py +++ b/lcm/lcm/v2/tests/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2017 ZTE Corporation. +# Copyright 2018 ZTE Corporation. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/lcm/lcm/v2/tests/test_vnf_create.py b/lcm/lcm/v2/tests/test_vnf_create.py index c1d4d36c..154b781a 100644 --- a/lcm/lcm/v2/tests/test_vnf_create.py +++ b/lcm/lcm/v2/tests/test_vnf_create.py @@ -1,4 +1,4 @@ -# Copyright 2017 ZTE Corporation. +# Copyright 2018 ZTE Corporation. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -80,4 +80,5 @@ class TestNFInstantiate(TestCase): response = self.client.post("/api/vnflcm/v2/vnf_instances", data=data, format='json') self.failUnlessEqual(status.HTTP_201_CREATED, response.status_code) context = json.loads(response.content) + self.assertEqual(context['vnfInstanceName'], "vFW_01") self.assertTrue(NfInstModel.objects.filter(nfinstid=context['id']).exists())