Code Review
/
vfc
/
gvnfm
/
vnflcm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
fix VNF query result none exception
[vfc/gvnfm/vnflcm.git]
/
lcm
/
lcm
/
nf
/
tests
/
test_query_vnf.py
diff --git
a/lcm/lcm/nf/tests/test_query_vnf.py
b/lcm/lcm/nf/tests/test_query_vnf.py
index
1fbe9c7
..
2582423
100644
(file)
--- a/
lcm/lcm/nf/tests/test_query_vnf.py
+++ b/
lcm/lcm/nf/tests/test_query_vnf.py
@@
-169,5
+169,4
@@
class ResourceTest(TestCase):
def test_get_vnfs_not_exist(self):
response = self.client.get("/api/vnflcm/v1/vnf_instances", format='json')
def test_get_vnfs_not_exist(self):
response = self.client.get("/api/vnflcm/v1/vnf_instances", format='json')
- self.assertEqual(response.status_code, status.HTTP_500_INTERNAL_SERVER_ERROR)
- self.assertEqual({'error': 'VnfInsts does not exist.'}, response.data)
+ self.assertEqual(response.status_code, status.HTTP_200_OK)