aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFu Jinhua <fu.jinhua@zte.com.cn>2017-09-22 10:12:48 +0000
committerGerrit Code Review <gerrit@onap.org>2017-09-22 10:12:48 +0000
commit1c3087112ceac8518bf63459cd108a3f1e3054cf (patch)
treed39ae4403ec38ace5e8db46ebc8af6ee18b67e63
parent5eac5f1fcb2239a6bfea60539e267cd13e25340a (diff)
parent966b12be62a2a60a211c693133ed09075e7e2dfa (diff)
Merge "Refactor catalog swagger test cases"
-rw-r--r--catalog/swagger/tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/catalog/swagger/tests.py b/catalog/swagger/tests.py
index 9cb305cf..d52fa847 100644
--- a/catalog/swagger/tests.py
+++ b/catalog/swagger/tests.py
@@ -15,13 +15,13 @@ from django.test import Client
from rest_framework import status
-class SampleViewTest(unittest.TestCase):
+class SwaggerViewTest(unittest.TestCase):
def setUp(self):
self.client = Client()
def tearDown(self):
pass
- def test_sample(self):
+ def test_swagger(self):
response = self.client.get("/api/catalog/v1/swagger.json")
self.assertEqual(status.HTTP_200_OK, response.status_code, response.content)