summaryrefslogtreecommitdiffstats
path: root/lcm
diff options
context:
space:
mode:
Diffstat (limited to 'lcm')
-rw-r--r--lcm/lcm/v2/tests/__init__.py2
-rw-r--r--lcm/lcm/v2/tests/test_vnf_create.py3
2 files changed, 3 insertions, 2 deletions
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())