summaryrefslogtreecommitdiffstats
path: root/lcm/lcm/nf/tests/test_query_vnf.py
diff options
context:
space:
mode:
authorlaili <lai.li@zte.com.cn>2018-09-07 17:32:51 +0800
committerlaili <lai.li@zte.com.cn>2018-09-07 17:32:51 +0800
commit70bb01f730b2586821d7d231906d1e1f6f090cb8 (patch)
treefb05e1c7f8885d7b0628573b74fa83c04e3c4d70 /lcm/lcm/nf/tests/test_query_vnf.py
parent16c4a5ff577f27c6ff404059612ecf68eb044b1f (diff)
Align grant request with SOL003.
-Align grant request. -Rename resouceid to resourceid. Change-Id: I1a933ba6248911984500a06f3fd031fddec06880 Issue-ID: VFC-1101 Signed-off-by: laili <lai.li@zte.com.cn>
Diffstat (limited to 'lcm/lcm/nf/tests/test_query_vnf.py')
-rw-r--r--lcm/lcm/nf/tests/test_query_vnf.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lcm/lcm/nf/tests/test_query_vnf.py b/lcm/lcm/nf/tests/test_query_vnf.py
index 95f387b9..e0ecddb5 100644
--- a/lcm/lcm/nf/tests/test_query_vnf.py
+++ b/lcm/lcm/nf/tests/test_query_vnf.py
@@ -116,7 +116,7 @@ class ResourceTest(TestCase):
NfInstModel(nfinstid=vnf_inst_id, nf_name='VNF1', status='INSTANTIATED').save()
StorageInstModel(storageid='s02',
vimid='vim01',
- resouceid='resource01',
+ resourceid='resource01',
insttype=1,
instid=vnf_inst_id).save()
response = self.client.get("/api/vnflcm/v1/vnf_instances/%s" % vnf_inst_id, format='json')
@@ -161,7 +161,7 @@ class ResourceTest(TestCase):
status='INSTANTIATED').save()
StorageInstModel(storageid='s0%s' % i,
vimid='vim0%s' % i,
- resouceid='resource0%s' % i,
+ resourceid='resource0%s' % i,
insttype=1,
instid='%s' % i).save()
response = self.client.get("/api/vnflcm/v1/vnf_instances", format='json')