Remove useless codes
Change-Id: I3dfe36863266150dcaded578d1c505d1dc792045
Issue-Id: VFC-397
Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
def test_sample(self):
response = self.client.get("/api/catalog/v1/swagger.json")
self.assertEqual(status.HTTP_200_OK, response.status_code, response.content)
-# resp_data = json.loads(response.content)
-# self.assertEqual({"status": "active"}, resp_data)
# limitations under the License.
import json
-import logging
import os
from rest_framework.response import Response
from rest_framework.views import APIView
-logger = logging.getLogger(__name__)
-
class SwaggerJsonView(APIView):
def get(self, request):