diff options
author | maopeng zhang <zhang.maopeng1@zte.com.cn> | 2017-09-08 12:31:58 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2017-09-08 12:31:58 +0000 |
commit | ae4572f5c9d2206ea7f96963ad170e16b0074192 (patch) | |
tree | 1732e338f8a92ba56ca17e0f4ca5dca79978f659 | |
parent | 8ecec5f65838fb2dd301ef95cfb2ec1251a18aaf (diff) | |
parent | c905551b567a93b1d7fff51837c0f7c4587f9777 (diff) |
Merge "Add query NS via CSARID test"
-rw-r--r-- | lcm/ns/tests/test_ns_get.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lcm/ns/tests/test_ns_get.py b/lcm/ns/tests/test_ns_get.py index 9da1ab3e..146ce459 100644 --- a/lcm/ns/tests/test_ns_get.py +++ b/lcm/ns/tests/test_ns_get.py @@ -34,4 +34,10 @@ class TestNsQuery(TestCase): def test_query_ns_by_nsinstance_id(self):
response = self.client.get("/api/nslcm/v1/ns/1")
+ self.failUnlessEqual(status.HTTP_200_OK, response.status_code)
+
+
+ def test_query_all_nsinstance(self):
+ response = self.client.get("/api/nslcm/v1/ns")
+ print response
self.failUnlessEqual(status.HTTP_200_OK, response.status_code)
\ No newline at end of file |