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_create_vnf.py
diff --git
a/lcm/lcm/nf/tests/test_create_vnf.py
b/lcm/lcm/nf/tests/test_create_vnf.py
index
7765534
..
39640b5
100644
(file)
--- a/
lcm/lcm/nf/tests/test_create_vnf.py
+++ b/
lcm/lcm/nf/tests/test_create_vnf.py
@@
-71,7
+71,7
@@
class TestNFInstantiate(TestCase):
data=data,
format='json'
)
data=data,
format='json'
)
- self.
failUnless
Equal(
+ self.
assert
Equal(
status.HTTP_500_INTERNAL_SERVER_ERROR,
response.status_code
)
status.HTTP_500_INTERNAL_SERVER_ERROR,
response.status_code
)
@@
-108,4
+108,5
@@
class TestNFInstantiate(TestCase):
"vnfPkgId": "111",
"instantiationState": "NOT_INSTANTIATED"
}
"vnfPkgId": "111",
"instantiationState": "NOT_INSTANTIATED"
}
+ self.assertEqual(status.HTTP_201_CREATED, response.status_code)
self.assertEqual(expect_data, response.data)
self.assertEqual(expect_data, response.data)