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
vfclcm upgrade from python2 to python3
[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
e041216
..
5d133de
100644
(file)
--- a/
lcm/lcm/nf/tests/test_query_vnf.py
+++ b/
lcm/lcm/nf/tests/test_query_vnf.py
@@
-228,7
+228,7
@@
class ResourceTest(TestCase):
insttype=1,
instid='%s' % i).save()
response = self.client.get("/api/vnflcm/v1/vnf_instances", format='json')
insttype=1,
instid='%s' % i).save()
response = self.client.get("/api/vnflcm/v1/vnf_instances", format='json')
- self.
failUnless
Equal(status.HTTP_200_OK, response.status_code)
+ self.
assert
Equal(status.HTTP_200_OK, response.status_code)
self.assertEqual(self.test_data_multi_vnf, response.data)
def test_get_vnfs_not_exist(self):
self.assertEqual(self.test_data_multi_vnf, response.data)
def test_get_vnfs_not_exist(self):