fix SyntaxError
[modeling/etsicatalog.git] / catalog / swagger / tests.py
1 # Copyright 2017 ZTE Corporation.
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at:
6 #       http://www.apache.org/licenses/LICENSE-2.0
7 #
8 # Unless required by applicable law or agreed to in writing, software
9 # distributed under the License is distributed on an "AS IS" BASIS,
10 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11
12 import unittest
13
14 from django.test import Client
15
16
17 # from rest_framework import status
18
19
20 class SwaggerViewTest(unittest.TestCase):
21     def setUp(self):
22         self.client = Client()
23
24     def tearDown(self):
25         pass
26
27     def test_swagger(self):
28         pass
29         # response = self.client.get("/api/catalog/v1/swagger.json")
30         # self.assertEqual(status.HTTP_200_OK, response.status_code, response.content)
31         # self.assertEqual("2.0", response.data.get("swagger"))