diff options
author | Fu Jinhua <fu.jinhua@zte.com.cn> | 2017-09-22 10:12:48 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2017-09-22 10:12:48 +0000 |
commit | 1c3087112ceac8518bf63459cd108a3f1e3054cf (patch) | |
tree | d39ae4403ec38ace5e8db46ebc8af6ee18b67e63 | |
parent | 5eac5f1fcb2239a6bfea60539e267cd13e25340a (diff) | |
parent | 966b12be62a2a60a211c693133ed09075e7e2dfa (diff) |
Merge "Refactor catalog swagger test cases"
-rw-r--r-- | catalog/swagger/tests.py | 4 |
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) |