Modify vfc-vnflcm license head 51/33351/1
authorying.yunlong <ying.yunlong@zte.com.cn>
Wed, 28 Feb 2018 06:40:14 +0000 (14:40 +0800)
committerying.yunlong <ying.yunlong@zte.com.cn>
Wed, 28 Feb 2018 06:40:14 +0000 (14:40 +0800)
Change-Id: I3d7ffbc47f2206a365427563fb481a39e8e3e6dd
Issue-ID: VFC-780
Signed-off-by: ying.yunlong <ying.yunlong@zte.com.cn>
lcm/lcm/v2/tests/__init__.py
lcm/lcm/v2/tests/test_vnf_create.py

index c7b6818..342c2a8 100644 (file)
@@ -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.
index c1d4d36..154b781 100644 (file)
@@ -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())