Code Review
/
vfc
/
nfvo
/
lcm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
(from parent 1:
8ecec5f
)
Merge "Add query NS via CSARID test"
author
maopeng zhang
<zhang.maopeng1@zte.com.cn>
Fri, 8 Sep 2017 12:31:58 +0000
(12:31 +0000)
committer
Gerrit Code Review
<gerrit@onap.org>
Fri, 8 Sep 2017 12:31:58 +0000
(12:31 +0000)
lcm/ns/tests/test_ns_get.py
patch
|
blob
|
history
diff --git
a/lcm/ns/tests/test_ns_get.py
b/lcm/ns/tests/test_ns_get.py
index
9da1ab3
..
146ce45
100644
(file)
--- a/
lcm/ns/tests/test_ns_get.py
+++ b/
lcm/ns/tests/test_ns_get.py
@@
-34,4
+34,10
@@
class TestNsQuery(TestCase):
\r
def test_query_ns_by_nsinstance_id(self):
\r
response = self.client.get("/api/nslcm/v1/ns/1")
\r
+ self.failUnlessEqual(status.HTTP_200_OK, response.status_code)
\r
+
\r
+
\r
+ def test_query_all_nsinstance(self):
\r
+ response = self.client.get("/api/nslcm/v1/ns")
\r
+ print response
\r
self.failUnlessEqual(status.HTTP_200_OK, response.status_code)
\ No newline at end of file